Update PrismJS to 1.26.0 and add support for Clojure, Dart, and Groovy

This commit is contained in:
Anthony Scotti 2022-01-12 21:07:46 -05:00
parent 71b2d5731d
commit 95d9513dbc
No known key found for this signature in database
GPG Key ID: 67627C86CC38D6A7
5 changed files with 78 additions and 77 deletions

View File

@ -72,7 +72,7 @@ A custom syntax highlighting based on PrismJS. All you need to do is to wrap you
``` ```
```` ````
**Supported languages**: actionscript, apacheconf, applescript, bash, c, clike, cmake, coffeescript, cpp, csharp, csp, css, css-extras, diff, django, docker, elixir, elm, erlang, flow, fsharp, git, go, graphql, haml, handlebars, haskell, http, java, javascript, json, jsx, kotlin, latex, less, llvm, makefile, markdown, markup, markup-templating, nasm, objectivec, ocaml, perl, php, php-extras, powershell, processing, pug, python, r, reason, ruby, rust, sass, scala, scheme, scss, sql, stylus, swift, textile, toml, tsx, twig, typescript, vim, visual-basic, wasm, yaml. **Supported languages**: actionscript, apacheconf, applescript, bash, c, clike, clojure, cmake, coffeescript, cpp, csharp, csp, css, css-extras, dart, diff, django, docker, elixir, elm, erlang, flow, fsharp, git, go, graphql, groovy, haml, handlebars, haskell, http, java, javascript, json, jsx, kotlin, latex, less, llvm, makefile, markdown, markup, markup-templating, nasm, objectivec, ocaml, perl, php, php-extras, powershell, processing, pug, python, r, reason, ruby, rust, sass, scala, scheme, scss, sql, stylus, swift, textile, toml, tsx, twig, typescript, vim, visual-basic, wasm, yaml.
## How to start ## How to start

View File

@ -1,5 +1,5 @@
/* PrismJS 1.24.1 /* PrismJS 1.26.0
https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+actionscript+apacheconf+applescript+bash+c+csharp+cpp+cmake+coffeescript+csp+css-extras+diff+django+docker+elixir+elm+erlang+fsharp+flow+git+go+graphql+haml+handlebars+haskell+http+java+json+kotlin+latex+less+llvm+makefile+markdown+markup-templating+nasm+objectivec+ocaml+perl+php+php-extras+powershell+processing+pug+python+r+jsx+tsx+reason+ruby+rust+sass+scss+scala+scheme+sql+stylus+swift+textile+toml+twig+typescript+vim+visual-basic+wasm+yaml&plugins=line-highlight+line-numbers+jsonp-highlight+highlight-keywords+command-line+toolbar+copy-to-clipboard */ https://prismjs.com/download.html#themes=prism-tomorrow&languages=markup+css+clike+javascript+actionscript+apacheconf+applescript+bash+c+csharp+cpp+clojure+cmake+coffeescript+csp+css-extras+dart+diff+django+docker+elixir+elm+erlang+fsharp+flow+git+go+graphql+groovy+haml+handlebars+haskell+http+java+json+kotlin+latex+less+llvm+makefile+markdown+markup-templating+nasm+objectivec+ocaml+perl+php+php-extras+powershell+processing+pug+python+r+jsx+tsx+reason+ruby+rust+sass+scss+scala+scheme+sql+stylus+swift+textile+toml+twig+typescript+vim+visual-basic+wasm+yaml&plugins=line-highlight+line-numbers+jsonp-highlight+highlight-keywords+command-line+toolbar+copy-to-clipboard */
/** /**
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML * prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
* Based on https://github.com/chriskempson/tomorrow-theme * Based on https://github.com/chriskempson/tomorrow-theme
@ -275,6 +275,7 @@ div.code-toolbar {
div.code-toolbar > .toolbar { div.code-toolbar > .toolbar {
position: absolute; position: absolute;
z-index: 10;
top: .3em; top: .3em;
right: .2em; right: .2em;
transition: opacity 0.3s ease-in-out; transition: opacity 0.3s ease-in-out;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long