1 | /**
|
2 | * @author Titus Wormer
|
3 | * @copyright 2015 Titus Wormer
|
4 | * @license MIT
|
5 | * @module mdast:defaults
|
6 | * @version 2.2.2
|
7 | * @fileoverview Default values for parse and
|
8 | * stringification settings.
|
9 | */
|
10 |
|
11 | ;
|
12 |
|
13 | /* eslint-env commonjs */
|
14 |
|
15 | /*
|
16 | * Note that `stringify.entities` is a string.
|
17 | */
|
18 |
|
19 | module.exports = {
|
20 | 'parse': {
|
21 | 'position': true,
|
22 | 'gfm': true,
|
23 | 'yaml': true,
|
24 | 'commonmark': false,
|
25 | 'footnotes': false,
|
26 | 'pedantic': false,
|
27 | 'breaks': false
|
28 | },
|
29 | 'stringify': {
|
30 | 'entities': 'false',
|
31 | 'setext': false,
|
32 | 'closeAtx': false,
|
33 | 'looseTable': false,
|
34 | 'spacedTable': true,
|
35 | 'incrementListMarker': true,
|
36 | 'fences': false,
|
37 | 'fence': '`',
|
38 | 'bullet': '-',
|
39 | 'listItemIndent': 'tab',
|
40 | 'rule': '*',
|
41 | 'ruleSpaces': true,
|
42 | 'ruleRepetition': 3,
|
43 | 'strong': '*',
|
44 | 'emphasis': '_'
|
45 | }
|
46 | };
|