5f4c58435835265ff998cf613292abbdaafed9737db94340fd670dcc1bbe512e.json 4.3 KB

1
  1. {"ast":null,"code":"// \"Zero\" preset, with nothing enabled. Useful for manual configuring of simple\n// modes. For example, to parse bold/italic only.\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n // autoconvert URL-like texts to links\n linkify: false,\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019',\n /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n // Internal protection, recursion limit\n maxNesting: 20\n },\n components: {\n core: {\n rules: ['normalize', 'block', 'inline', 'text_join']\n },\n block: {\n rules: ['paragraph']\n },\n inline: {\n rules: ['text'],\n rules2: ['balance_pairs', 'fragments_join']\n }\n }\n};","map":{"version":3,"names":["options","html","xhtmlOut","breaks","langPrefix","linkify","typographer","quotes","highlight","maxNesting","components","core","rules","block","inline","rules2"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/markdown-it/lib/presets/zero.mjs"],"sourcesContent":["// \"Zero\" preset, with nothing enabled. Useful for manual configuring of simple\n// modes. For example, to parse bold/italic only.\n\nexport default {\n options: {\n // Enable HTML tags in source\n html: false,\n\n // Use '/' to close single tags (<br />)\n xhtmlOut: false,\n\n // Convert '\\n' in paragraphs into <br>\n breaks: false,\n\n // CSS language prefix for fenced blocks\n langPrefix: 'language-',\n\n // autoconvert URL-like texts to links\n linkify: false,\n\n // Enable some language-neutral replacements + quotes beautification\n typographer: false,\n\n // Double + single quotes replacement pairs, when typographer enabled,\n // and smartquotes on. Could be either a String or an Array.\n //\n // For example, you can use '«»„“' for Russian, '„“‚‘' for German,\n // and ['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›'] for French (including nbsp).\n quotes: '\\u201c\\u201d\\u2018\\u2019', /* “”‘’ */\n\n // Highlighter function. Should return escaped HTML,\n // or '' if the source string is not changed and should be escaped externaly.\n // If result starts with <pre... internal wrapper is skipped.\n //\n // function (/*str, lang*/) { return ''; }\n //\n highlight: null,\n\n // Internal protection, recursion limit\n maxNesting: 20\n },\n\n components: {\n\n core: {\n rules: [\n 'normalize',\n 'block',\n 'inline',\n 'text_join'\n ]\n },\n\n block: {\n rules: [\n 'paragraph'\n ]\n },\n\n inline: {\n rules: [\n 'text'\n ],\n rules2: [\n 'balance_pairs',\n 'fragments_join'\n ]\n }\n }\n}\n"],"mappings":"AAAA;AACA;;AAEA,eAAe;EACbA,OAAO,EAAE;IACP;IACAC,IAAI,EAAE,KAAK;IAEX;IACAC,QAAQ,EAAE,KAAK;IAEf;IACAC,MAAM,EAAE,KAAK;IAEb;IACAC,UAAU,EAAE,WAAW;IAEvB;IACAC,OAAO,EAAE,KAAK;IAEd;IACAC,WAAW,EAAE,KAAK;IAElB;IACA;IACA;IACA;IACA;IACAC,MAAM,EAAE,0BAA0B;IAAE;;IAEpC;IACA;IACA;IACA;IACA;IACA;IACAC,SAAS,EAAE,IAAI;IAEf;IACAC,UAAU,EAAE;EACd,CAAC;EAEDC,UAAU,EAAE;IAEVC,IAAI,EAAE;MACJC,KAAK,EAAE,CACL,WAAW,EACX,OAAO,EACP,QAAQ,EACR,WAAW;IAEf,CAAC;IAEDC,KAAK,EAAE;MACLD,KAAK,EAAE,CACL,WAAW;IAEf,CAAC;IAEDE,MAAM,EAAE;MACNF,KAAK,EAAE,CACL,MAAM,CACP;MACDG,MAAM,EAAE,CACN,eAAe,EACf,gBAAgB;IAEpB;EACF;AACF,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}