diff options
| author | ruki <waruqi@gmail.com> | 2018-11-08 00:43:05 +0800 |
|---|---|---|
| committer | ruki <waruqi@gmail.com> | 2018-11-07 22:18:30 +0800 |
| commit | 89e95b3f143682ed9a006991bacf45c9dcba4818 (patch) | |
| tree | 4f44cf41b828577d583890bdd5a1c31e8491a6ba /node_modules/markdown-it/lib/presets | |
| parent | aa7f0199255277949790b41c56e8ec97dd4f0da4 (diff) | |
| download | xmake-docs-vuepress.tar.gz xmake-docs-vuepress.zip | |
remove node_modulesvuepress
Diffstat (limited to 'node_modules/markdown-it/lib/presets')
| -rw-r--r-- | node_modules/markdown-it/lib/presets/commonmark.js | 80 | ||||
| -rw-r--r-- | node_modules/markdown-it/lib/presets/default.js | 41 | ||||
| -rw-r--r-- | node_modules/markdown-it/lib/presets/zero.js | 62 |
3 files changed, 0 insertions, 183 deletions
diff --git a/node_modules/markdown-it/lib/presets/commonmark.js b/node_modules/markdown-it/lib/presets/commonmark.js deleted file mode 100644 index 70665537..00000000 --- a/node_modules/markdown-it/lib/presets/commonmark.js +++ /dev/null @@ -1,80 +0,0 @@ -// Commonmark default options - -'use strict'; - - -module.exports = { - options: { - html: true, // Enable HTML tags in source - xhtmlOut: true, // Use '/' to close single tags (<br />) - breaks: false, // Convert '\n' in paragraphs into <br> - langPrefix: 'language-', // CSS language prefix for fenced blocks - linkify: false, // autoconvert URL-like texts to links - - // Enable some language-neutral replacements + quotes beautification - typographer: false, - - // Double + single quotes replacement pairs, when typographer enabled, - // and smartquotes on. Could be either a String or an Array. - // - // For example, you can use '«»„“' for Russian, '„“‚‘' for German, - // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). - quotes: '\u201c\u201d\u2018\u2019', /* “”‘’ */ - - // Highlighter function. Should return escaped HTML, - // or '' if the source string is not changed and should be escaped externaly. - // If result starts with <pre... internal wrapper is skipped. - // - // function (/*str, lang*/) { return ''; } - // - highlight: null, - - maxNesting: 20 // Internal protection, recursion limit - }, - - components: { - - core: { - rules: [ - 'normalize', - 'block', - 'inline' - ] - }, - - block: { - rules: [ - 'blockquote', - 'code', - 'fence', - 'heading', - 'hr', - 'html_block', - 'lheading', - 'list', - 'reference', - 'paragraph' - ] - }, - - inline: { - rules: [ - 'autolink', - 'backticks', - 'emphasis', - 'entity', - 'escape', - 'html_inline', - 'image', - 'link', - 'newline', - 'text' - ], - rules2: [ - 'balance_pairs', - 'emphasis', - 'text_collapse' - ] - } - } -}; diff --git a/node_modules/markdown-it/lib/presets/default.js b/node_modules/markdown-it/lib/presets/default.js deleted file mode 100644 index 17ecef2a..00000000 --- a/node_modules/markdown-it/lib/presets/default.js +++ /dev/null @@ -1,41 +0,0 @@ -// markdown-it default options - -'use strict'; - - -module.exports = { - options: { - html: false, // Enable HTML tags in source - xhtmlOut: false, // Use '/' to close single tags (<br />) - breaks: false, // Convert '\n' in paragraphs into <br> - langPrefix: 'language-', // CSS language prefix for fenced blocks - linkify: false, // autoconvert URL-like texts to links - - // Enable some language-neutral replacements + quotes beautification - typographer: false, - - // Double + single quotes replacement pairs, when typographer enabled, - // and smartquotes on. Could be either a String or an Array. - // - // For example, you can use '«»„“' for Russian, '„“‚‘' for German, - // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). - quotes: '\u201c\u201d\u2018\u2019', /* “”‘’ */ - - // Highlighter function. Should return escaped HTML, - // or '' if the source string is not changed and should be escaped externaly. - // If result starts with <pre... internal wrapper is skipped. - // - // function (/*str, lang*/) { return ''; } - // - highlight: null, - - maxNesting: 100 // Internal protection, recursion limit - }, - - components: { - - core: {}, - block: {}, - inline: {} - } -}; diff --git a/node_modules/markdown-it/lib/presets/zero.js b/node_modules/markdown-it/lib/presets/zero.js deleted file mode 100644 index 5da413ca..00000000 --- a/node_modules/markdown-it/lib/presets/zero.js +++ /dev/null @@ -1,62 +0,0 @@ -// "Zero" preset, with nothing enabled. Useful for manual configuring of simple -// modes. For example, to parse bold/italic only. - -'use strict'; - - -module.exports = { - options: { - html: false, // Enable HTML tags in source - xhtmlOut: false, // Use '/' to close single tags (<br />) - breaks: false, // Convert '\n' in paragraphs into <br> - langPrefix: 'language-', // CSS language prefix for fenced blocks - linkify: false, // autoconvert URL-like texts to links - - // Enable some language-neutral replacements + quotes beautification - typographer: false, - - // Double + single quotes replacement pairs, when typographer enabled, - // and smartquotes on. Could be either a String or an Array. - // - // For example, you can use '«»„“' for Russian, '„“‚‘' for German, - // and ['«\xA0', '\xA0»', '‹\xA0', '\xA0›'] for French (including nbsp). - quotes: '\u201c\u201d\u2018\u2019', /* “”‘’ */ - - // Highlighter function. Should return escaped HTML, - // or '' if the source string is not changed and should be escaped externaly. - // If result starts with <pre... internal wrapper is skipped. - // - // function (/*str, lang*/) { return ''; } - // - highlight: null, - - maxNesting: 20 // Internal protection, recursion limit - }, - - components: { - - core: { - rules: [ - 'normalize', - 'block', - 'inline' - ] - }, - - block: { - rules: [ - 'paragraph' - ] - }, - - inline: { - rules: [ - 'text' - ], - rules2: [ - 'balance_pairs', - 'text_collapse' - ] - } - } -}; |
