mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
remove unneeded libs
This commit is contained in:
parent
5aaaf08723
commit
59ea1c2f7d
1109 changed files with 0 additions and 58758 deletions
|
@ -1,61 +0,0 @@
|
|||
(function(Prism) {
|
||||
var funcPattern = /\\([^a-z()[\]]|[a-z\*]+)/i,
|
||||
insideEqu = {
|
||||
'equation-command': {
|
||||
pattern: funcPattern,
|
||||
alias: 'regex'
|
||||
}
|
||||
};
|
||||
|
||||
Prism.languages.latex = {
|
||||
'comment': /%.*/m,
|
||||
// the verbatim environment prints whitespace to the document
|
||||
'cdata': {
|
||||
pattern: /(\\begin\{((?:verbatim|lstlisting)\*?)\})([\w\W]*?)(?=\\end\{\2\})/,
|
||||
lookbehind: true
|
||||
},
|
||||
/*
|
||||
* equations can be between $ $ or \( \) or \[ \]
|
||||
* (all are multiline)
|
||||
*/
|
||||
'equation': [
|
||||
{
|
||||
pattern: /\$(?:\\?[\w\W])*?\$|\\\((?:\\?[\w\W])*?\\\)|\\\[(?:\\?[\w\W])*?\\\]/,
|
||||
inside: insideEqu,
|
||||
alias: 'string'
|
||||
},
|
||||
{
|
||||
pattern: /(\\begin\{((?:equation|math|eqnarray|align|multline|gather)\*?)\})([\w\W]*?)(?=\\end\{\2\})/,
|
||||
lookbehind: true,
|
||||
inside: insideEqu,
|
||||
alias: 'string'
|
||||
}
|
||||
],
|
||||
/*
|
||||
* arguments which are keywords or references are highlighted
|
||||
* as keywords
|
||||
*/
|
||||
'keyword': {
|
||||
pattern: /(\\(?:begin|end|ref|cite|label|usepackage|documentclass)(?:\[[^\]]+\])?\{)[^}]+(?=\})/,
|
||||
lookbehind: true
|
||||
},
|
||||
'url': {
|
||||
pattern: /(\\url\{)[^}]+(?=\})/,
|
||||
lookbehind: true
|
||||
},
|
||||
/*
|
||||
* section or chapter headlines are highlighted as bold so that
|
||||
* they stand out more
|
||||
*/
|
||||
'headline': {
|
||||
pattern: /(\\(?:part|chapter|section|subsection|frametitle|subsubsection|paragraph|subparagraph|subsubparagraph|subsubsubparagraph)\*?(?:\[[^\]]+\])?\{)[^}]+(?=\}(?:\[[^\]]+\])?)/,
|
||||
lookbehind: true,
|
||||
alias: 'class-name'
|
||||
},
|
||||
'function': {
|
||||
pattern: funcPattern,
|
||||
alias: 'selector'
|
||||
},
|
||||
'punctuation': /[[\]{}&]/
|
||||
};
|
||||
})(Prism);
|
Loading…
Add table
Add a link
Reference in a new issue