Files
30-seconds-of-code/node_modules/remark-stringify/lib/defaults.js
2019-08-20 15:52:05 +02:00

29 lines
482 B
JavaScript

'use strict';
module.exports = {
gfm: true,
commonmark: false,
pedantic: false,
entities: 'false',
setext: false,
closeAtx: false,
looseTable: false,
spacedTable: true,
paddedTable: true,
stringLength: stringLength,
incrementListMarker: true,
fences: false,
fence: '`',
bullet: '-',
listItemIndent: 'tab',
rule: '*',
ruleSpaces: true,
ruleRepetition: 3,
strong: '*',
emphasis: '_'
};
function stringLength(value) {
return value.length;
}