|
18a00828
|
2021-06-13T19:53:03
|
|
ESLint: Added regexp plugin (#2924)
|
|
158011e4
|
2021-04-18T15:55:05
|
|
ESLint: Added wrap-iife rule (#2867)
|
|
c33cf459
|
2019-06-09T10:37:20
|
|
Resolved conflicts
|
|
5ad58a75
|
2019-05-28T18:25:04
|
|
LaTeX: Added TeX and ConTeXt alias (#1915)
Added TeX and ConTeXt alias. Some minor formatting.
|
|
d4736f08
|
2019-05-28T14:14:05
|
|
Added support for $$ equations
|
|
aa426b02
|
2017-10-22T14:52:59
|
|
LaTeX: Regexp optimisation and simplification
|
|
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]
|
|
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
|
|
132b41ab
|
2015-08-26T08:27:14
|
|
LaTeX: Simplify comment regexp
|
|
b1fd5bdc
|
2015-03-10T08:27:53
|
|
Removed unused global flag in all grammars
|
|
9487b5be
|
2015-01-09T08:11:21
|
|
Removed unneeded escapes in RegExps, added some semicolons
|
|
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
|
|
24bf8ab7
|
2014-08-08T13:16:06
|
|
Included LaTeX suggestions
|
|
657b089f
|
2014-08-06T19:44:18
|
|
Added initial LaTeX support
|