Update prism.
This commit is contained in:
parent
6dbffb8be1
commit
05194167e1
3 changed files with 18 additions and 43 deletions
|
@ -248,6 +248,7 @@
|
||||||
/*
|
/*
|
||||||
Show text file preview on click.
|
Show text file preview on click.
|
||||||
"types" maps file types to http://prismjs.com languages.
|
"types" maps file types to http://prismjs.com languages.
|
||||||
|
Currently included: markup+css+clike+javascript+bash+ruby+go+json+python+rust
|
||||||
|
|
||||||
Additional type are:
|
Additional type are:
|
||||||
- "markdown" to render Markdown text
|
- "markdown" to render Markdown text
|
||||||
|
@ -261,15 +262,14 @@
|
||||||
"types": {
|
"types": {
|
||||||
"txt": "fixed",
|
"txt": "fixed",
|
||||||
"txt-authors": "fixed",
|
"txt-authors": "fixed",
|
||||||
"txt-c": "c",
|
"txt-c": "clike",
|
||||||
"txt-cpp": "cpp",
|
"txt-cpp": "clike",
|
||||||
"txt-css": "css",
|
"txt-css": "css",
|
||||||
"txt-diff": "fixed",
|
"txt-diff": "fixed",
|
||||||
"txt-go": "go",
|
"txt-go": "go",
|
||||||
"txt-h": "c",
|
"txt-h": "clike",
|
||||||
"txt-hpp": "cpp",
|
"txt-hpp": "clike",
|
||||||
"txt-install": "fixed",
|
"txt-install": "fixed",
|
||||||
"txt-java": "java",
|
|
||||||
"txt-js": "javascript",
|
"txt-js": "javascript",
|
||||||
"txt-json": "javascript",
|
"txt-json": "javascript",
|
||||||
"txt-less": "css",
|
"txt-less": "css",
|
||||||
|
@ -277,12 +277,11 @@
|
||||||
"txt-log": "fixed",
|
"txt-log": "fixed",
|
||||||
"txt-makefile": "fixed",
|
"txt-makefile": "fixed",
|
||||||
"txt-md": "markdown",
|
"txt-md": "markdown",
|
||||||
// "txt-php": "php",
|
|
||||||
"txt-py": "python",
|
"txt-py": "python",
|
||||||
"txt-rb": "ruby",
|
"txt-rb": "ruby",
|
||||||
"txt-readme": "fixed",
|
"txt-readme": "fixed",
|
||||||
"txt-rtf": "fixed",
|
"txt-rtf": "fixed",
|
||||||
"txt-scala": "scala",
|
"txt-rust": "rust",
|
||||||
"txt-script": "bash",
|
"txt-script": "bash",
|
||||||
"txt-xml": "fixed"
|
"txt-xml": "fixed"
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
12
src/_h5ai/public/js/vendor/prism-2016-07-01.min.js
vendored
Normal file
12
src/_h5ai/public/js/vendor/prism-2016-07-01.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue