components/prism-latex.js


Log

Author Commit Date CI Message
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