components/prism-latex.js


Log

Author Commit Date CI Message
Michael Schmidt c33cf459 2019-06-09T10:37:20 Resolved conflicts
Michael Schmidt 5ad58a75 2019-05-28T18:25:04 LaTeX: Added TeX and ConTeXt alias (#1915) Added TeX and ConTeXt alias. Some minor formatting.
RunDevelopment d4736f08 2019-05-28T14:14:05 Added support for $$ equations
Golmote aa426b02 2017-10-22T14:52:59 LaTeX: Regexp optimisation and simplification
Valtteri Laitinen 8aa2cc4a 2017-05-08T13:56:50 Replace [\w\W] with [\s\S] and [0-9] with \d in regexes (#1107) * Replace [\w\W] with [^] and [0-9] with \d in regexes * Replace [\s\S] with [^] * Replace [^] with [\s\S]
Golmote 942a6ec7 2015-09-05T10:28:05 Merge branch 'LatexBranch' of https://github.com/zeitgeist87/prism into gh-pages + update tests Conflicts: components/prism-latex.js components/prism-latex.min.js
Golmote 132b41ab 2015-08-26T08:27:14 LaTeX: Simplify comment regexp
Golmote b1fd5bdc 2015-03-10T08:27:53 Removed unused global flag in all grammars
Golmote 9487b5be 2015-01-09T08:11:21 Removed unneeded escapes in RegExps, added some semicolons
Andreas Rohner c9ec813b 2014-08-10T14:53:23 Extend Latex support This patch extends the support for Latex in the following way: * Support for various equation environments and for the verbatim environment * Certain functions like `\ref` or `\begin` always contain a reference or a keyword and they are highlighted as such. * Chapter and section headlines are written in bold to make them stand out more, because they structure the document. * Since `selector` and `string` have the same color in the default theme, the token type `function` is used to highlight Latex commands. * Add support for the `\url` command * Add alias support
Jelmer Borst 24bf8ab7 2014-08-08T13:16:06 Included LaTeX suggestions
Jelmer Borst 657b089f 2014-08-06T19:44:18 Added initial LaTeX support