1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/tex.js"],"names":["module","exports","hljs","COMMAND","className","begin","relevance","contains","variants","starts","endsWithParent","end","COMMENT"],"mappings":"qFAAAA,EAAOC,QAAU,SAASC,GACxB,IAAIC,EAAU,CACZC,UAAW,MACXC,MAAO,KACPC,UAAW,EACXC,SAAU,CACR,CACEH,UAAW,OACXI,SAAU,CACR,CAACH,MAAO,2CACR,CAACA,MAAO,2CAEVI,OAAQ,CACNC,gBAAgB,EAChBJ,UAAW,EACXC,SAAU,CACR,CACEH,UAAW,SACXI,SAAU,CACR,CAACH,MAAO,KAAMM,IAAK,MACnB,CAACN,MAAO,KAAMM,IAAK,QAGvB,CACEN,MAAO,UAAWK,gBAAgB,EAClCJ,UAAW,EACXC,SAAU,CACR,CACEH,UAAW,SACXC,MAAO,mDAUvB,MAAO,CACLE,SAAU,CACRJ,EACA,CACEC,UAAW,UACXG,SAAU,CAACJ,GACXG,UAAW,EACXE,SAAU,CACR,CAACH,MAAO,OAAQM,IAAK,QACrB,CAACN,MAAO,KAAMM,IAAK,QAGvBT,EAAKU,QACH,IACA,IACA,CACEN,UAAW","file":"highlight/tex.js?v=6f1f5567056e9ef490ba","sourcesContent":["module.exports = function(hljs) {\n var COMMAND = {\n className: 'tag',\n begin: /\\\\/,\n relevance: 0,\n contains: [\n {\n className: 'name',\n variants: [\n {begin: /[a-zA-Z\\u0430-\\u044f\\u0410-\\u042f]+[*]?/},\n {begin: /[^a-zA-Z\\u0430-\\u044f\\u0410-\\u042f0-9]/}\n ],\n starts: {\n endsWithParent: true,\n relevance: 0,\n contains: [\n {\n className: 'string', // because it looks like attributes in HTML tags\n variants: [\n {begin: /\\[/, end: /\\]/},\n {begin: /\\{/, end: /\\}/}\n ]\n },\n {\n begin: /\\s*=\\s*/, endsWithParent: true,\n relevance: 0,\n contains: [\n {\n className: 'number',\n begin: /-?\\d*\\.?\\d+(pt|pc|mm|cm|in|dd|cc|ex|em)?/\n }\n ]\n }\n ]\n }\n }\n ]\n };\n\n return {\n contains: [\n COMMAND,\n {\n className: 'formula',\n contains: [COMMAND],\n relevance: 0,\n variants: [\n {begin: /\\$\\$/, end: /\\$\\$/},\n {begin: /\\$/, end: /\\$/}\n ]\n },\n hljs.COMMENT(\n '%',\n '$',\n {\n relevance: 0\n }\n )\n ]\n };\n};"],"sourceRoot":""}
|