!(function (a) { var e = /\\(?:[^a-z()[\]]|[a-z*]+)/i, n = { 'equation-command': { pattern: e, alias: 'regex' } }; (a.languages.latex = { comment: /%.*/, cdata: { pattern: /(\\begin\{((?:lstlisting|verbatim)\*?)\})[\s\S]*?(?=\\end\{\2\})/, lookbehind: !0, }, equation: [ { pattern: /\$\$(?:\\[\s\S]|[^\\$])+\$\$|\$(?:\\[\s\S]|[^\\$])+\$|\\\([\s\S]*?\\\)|\\\[[\s\S]*?\\\]/, inside: n, alias: 'string', }, { pattern: /(\\begin\{((?:align|eqnarray|equation|gather|math|multline)\*?)\})[\s\S]*?(?=\\end\{\2\})/, lookbehind: !0, inside: n, alias: 'string', }, ], keyword: { pattern: /(\\(?:begin|cite|documentclass|end|label|ref|usepackage)(?:\[[^\]]+\])?\{)[^}]+(?=\})/, lookbehind: !0, }, url: { pattern: /(\\url\{)[^}]+(?=\})/, lookbehind: !0 }, headline: { pattern: /(\\(?:chapter|frametitle|paragraph|part|section|subparagraph|subsection|subsubparagraph|subsubsection|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\})/, lookbehind: !0, alias: 'class-name', }, function: { pattern: e, alias: 'selector' }, punctuation: /[[\]{}&]/, }), (a.languages.tex = a.languages.latex), (a.languages.context = a.languages.latex); })(Prism); philippot.com/refs/?h=v1.1.0&id=fe3922d039bdb5d4c063bc73543abc53a57d8464'>refslogtreecommitdiffstats
path: root/public/prism/prism-ini.min.js
blob: ad79628decea22360031da3bb9eb2394ae35d06c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28