markdown.js 277 B

12345678910
  1. 'use strict';
  2. var form = require('express-form')
  3. , field = form.field;
  4. module.exports = form(
  5. field('markdownSetting[markdown:isEnabledLinebreaks]').trim().toBooleanStrict(),
  6. field('markdownSetting[markdown:isEnabledLinebreaksInComments]').trim().toBooleanStrict()
  7. );