1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/markdown.js"],"names":["module","exports","hljs","aliases","contains","className","variants","begin","end","subLanguage","relevance","returnBegin","excludeBegin","returnEnd","excludeEnd"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GACxB,MAAO,CACLC,QAAS,CAAC,KAAM,SAAU,OAC1BC,SAAU,CAER,CACEC,UAAW,UACXC,SAAU,CACR,CAAEC,MAAO,UAAWC,IAAK,KACzB,CAAED,MAAO,sBAIb,CACEA,MAAO,IAAKC,IAAK,IACjBC,YAAa,MACbC,UAAW,GAGb,CACEL,UAAW,SACXE,MAAO,8BAGT,CACEF,UAAW,SACXE,MAAO,qBAGT,CACEF,UAAW,WACXC,SAAU,CACR,CAAEC,MAAO,aACT,CAAEA,MAAO,QACPG,UAAW,KAKjB,CACEL,UAAW,QACXE,MAAO,SAAUC,IAAK,KAGxB,CACEH,UAAW,OACXC,SAAU,CACR,CACEC,MAAO,YAAeC,IAAK,WAE7B,CACED,MAAO,SAET,CACEA,MAAO,aAAcC,IAAK,IAC1BE,UAAW,KAKjB,CACEH,MAAO,cAAeC,IAAK,KAG7B,CACED,MAAO,+BACPI,aAAa,EACbP,SAAU,CACR,CACEC,UAAW,SACXE,MAAO,MAAOC,IAAK,MACnBI,cAAc,EACdC,WAAW,EACXH,UAAW,GAEb,CACEL,UAAW,OACXE,MAAO,SAAUC,IAAK,MACtBI,cAAc,EAAME,YAAY,GAElC,CACET,UAAW,SACXE,MAAO,SAAUC,IAAK,MACtBI,cAAc,EAAME,YAAY,IAGpCJ,UAAW,IAEb,CACEH,MAAO,eACPI,aAAa,EACbP,SAAU,CACR,CACEC,UAAW,SACXE,MAAO,KAAMC,IAAK,KAClBI,cAAc,EAAME,YAAY,GAElC,CACET,UAAW,OACXE,MAAO,OAAQC,IAAK,IACpBI,cAAc","file":"highlight/markdown.js?v=d6eb1af9ddf4b95e69e6","sourcesContent":["module.exports = function(hljs) {\n return {\n aliases: ['md', 'mkdown', 'mkd'],\n contains: [\n // highlight headers\n {\n className: 'section',\n variants: [\n { begin: '^#{1,6}', end: '$' },\n { begin: '^.+?\\\\n[=-]{2,}$' }\n ]\n },\n // inline html\n {\n begin: '<', end: '>',\n subLanguage: 'xml',\n relevance: 0\n },\n // lists (indicators only)\n {\n className: 'bullet',\n begin: '^\\\\s*([*+-]|(\\\\d+\\\\.))\\\\s+'\n },\n // strong segments\n {\n className: 'strong',\n begin: '[*_]{2}.+?[*_]{2}'\n },\n // emphasis segments\n {\n className: 'emphasis',\n variants: [\n { begin: '\\\\*.+?\\\\*' },\n { begin: '_.+?_'\n , relevance: 0\n }\n ]\n },\n // blockquotes\n {\n className: 'quote',\n begin: '^>\\\\s+', end: '$'\n },\n // code snippets\n {\n className: 'code',\n variants: [\n {\n begin: '^```\\w*\\s*$', end: '^```\\s*$'\n },\n {\n begin: '`.+?`'\n },\n {\n begin: '^( {4}|\\t)', end: '$',\n relevance: 0\n }\n ]\n },\n // horizontal rules\n {\n begin: '^[-\\\\*]{3,}', end: '$'\n },\n // using links - title and link\n {\n begin: '\\\\[.+?\\\\][\\\\(\\\\[].*?[\\\\)\\\\]]',\n returnBegin: true,\n contains: [\n {\n className: 'string',\n begin: '\\\\[', end: '\\\\]',\n excludeBegin: true,\n returnEnd: true,\n relevance: 0\n },\n {\n className: 'link',\n begin: '\\\\]\\\\(', end: '\\\\)',\n excludeBegin: true, excludeEnd: true\n },\n {\n className: 'symbol',\n begin: '\\\\]\\\\[', end: '\\\\]',\n excludeBegin: true, excludeEnd: true\n }\n ],\n relevance: 10\n },\n {\n begin: /^\\[[^\\n]+\\]:/,\n returnBegin: true,\n contains: [\n {\n className: 'symbol',\n begin: /\\[/, end: /\\]/,\n excludeBegin: true, excludeEnd: true\n },\n {\n className: 'link',\n begin: /:\\s*/, end: /$/,\n excludeBegin: true\n }\n ]\n }\n ]\n };\n};"],"sourceRoot":""}
|