Imported old code.
This commit is contained in:
parent
b35b040120
commit
89d94c38b6
243 changed files with 26457 additions and 0 deletions
1
js/prettify/lang-tex.js
Normal file
1
js/prettify/lang-tex.js
Normal file
|
|
@ -0,0 +1 @@
|
|||
PR.registerLangHandler(PR.createSimpleLexer([["pln",/^[\t\n\r \xa0]+/,null,"\t\n\r \u00a0"],["com",/^%[^\n\r]*/,null,"%"]],[["kwd",/^\\[@-Za-z]+/],["kwd",/^\\./],["typ",/^[$&]/],["lit",/[+-]?(?:\.\d+|\d+(?:\.\d*)?)(cm|em|ex|in|pc|pt|bp|mm)/i],["pun",/^[()=[\]{}]+/]]),["latex","tex"]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue