Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Update PrismJS to 1.16.0 (#24)
Browse files Browse the repository at this point in the history
This brings lots of bugfixes and improvements.
Should fix #19

[PrismJS 1.16.0 release](https://github.com/PrismJS/prism/releases/tag/v1.16.0)
  • Loading branch information
siavashs authored Jun 24, 2019
1 parent 76e9b5a commit 5c85a3e
Show file tree
Hide file tree
Showing 3 changed files with 1,955 additions and 1,104 deletions.
14 changes: 14 additions & 0 deletions src/main/java/com/catawiki/jira/prism/Code.java
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,17 @@ private Boolean checkLanguage(String language) {
case "basic":
case "batch":
case "bison":
case "bnf":
case "abnf":
case "ebnf":
case "rbnf":
case "brainfuck":
case "bro":
case "c":
case "cil":
case "clike":
case "clojure":
case "cmake":
case "coffee":
case "coffeescript":
case "cpp":
Expand All @@ -151,6 +156,7 @@ private Boolean checkLanguage(String language) {
case "dockerfile":
case "dotnet":
case "eiffel":
case "ejs":
case "elisp":
case "elixir":
case "elm":
Expand All @@ -175,6 +181,7 @@ private Boolean checkLanguage(String language) {
case "haxe":
case "hcl":
case "hpkp":
case "hs":
case "hsts":
case "html":
case "http":
Expand All @@ -184,12 +191,16 @@ private Boolean checkLanguage(String language) {
case "ini":
case "io":
case "j":
case "javadoclike":
case "javadoc":
case "java":
case "javascript":
case "javastacktrace":
case "jinja2":
case "jolie":
case "jsdoc":
case "json":
case "json5":
case "jsonp":
case "js":
case "jsx":
Expand Down Expand Up @@ -230,6 +241,7 @@ private Boolean checkLanguage(String language) {
case "pascal":
case "perl":
case "php":
case "phpdoc":
case "plsql":
case "powershell":
case "processing":
Expand All @@ -246,6 +258,7 @@ private Boolean checkLanguage(String language) {
case "r":
case "rb":
case "reason":
case "regex":
case "renpy":
case "rest":
case "rip":
Expand All @@ -265,6 +278,7 @@ private Boolean checkLanguage(String language) {
case "stylus":
case "svg":
case "swift":
case "t4":
case "tap":
case "tcl":
case "textile":
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/css/prism.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* PrismJS 1.15.0
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bison+brainfuck+bro+cpp+aspnet+arduino+cil+coffeescript+clojure+ruby+csp+css-extras+d+dart+diff+django+docker+eiffel+elixir+elm+markup-templating+erlang+fsharp+flow+fortran+gcode+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+javastacktrace+jolie+json+julia+keyman+kotlin+latex+markdown+liquid+lisp+livescript+lolcode+lua+makefile+crystal+erb+matlab+mel+mizar+monkey+n1ql+n4js+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+jsx+typescript+renpy+reason+rest+rip+roboconf+textile+rust+sas+sass+stylus+scala+scheme+smalltalk+smarty+plsql+soy+pug+swift+yaml+tcl+haml+toml+tt2+twig+tsx+vala+vbnet+velocity+verilog+vhdl+vim+visual-basic+wasm+wiki+xeora+xojo+xquery+tap&plugins=line-highlight+line-numbers+command-line+normalize-whitespace */
/* PrismJS 1.16.0
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+abap+abnf+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+csharp+autohotkey+autoit+bash+basic+batch+bison+bnf+brainfuck+bro+cpp+aspnet+arduino+cil+coffeescript+cmake+clojure+ruby+csp+css-extras+d+dart+diff+markup-templating+docker+ebnf+eiffel+ejs+elixir+elm+erb+erlang+fsharp+flow+fortran+gcode+gedcom+gherkin+git+glsl+gml+go+graphql+groovy+less+handlebars+haskell+haxe+hcl+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+scala+php+javastacktrace+jolie+javadoclike+n4js+json+jsonp+json5+julia+keyman+kotlin+latex+markdown+liquid+lisp+livescript+lolcode+lua+makefile+crystal+django+matlab+mel+mizar+monkey+n1ql+typescript+nand2tetris-hdl+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+jsdoc+phpdoc+php-extras+sql+powershell+processing+prolog+properties+protobuf+scss+puppet+pure+python+q+qore+r+js-extras+jsx+renpy+reason+vala+rest+rip+roboconf+textile+rust+sas+sass+stylus+javadoc+scheme+smalltalk+smarty+plsql+soy+twig+swift+yaml+tcl+haml+toml+tt2+pug+tsx+t4-templating+visual-basic+t4-cs+regex+vbnet+velocity+verilog+vhdl+vim+t4-vb+wasm+wiki+xeora+xojo+xquery+tap&plugins=line-highlight+line-numbers+command-line+normalize-whitespace */
/**
* okaidia theme for JavaScript, CSS and HTML
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
Expand All @@ -12,6 +12,7 @@ pre[class*="language-"] {
background: none;
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
Expand Down
Loading

0 comments on commit 5c85a3e

Please sign in to comment.