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

Commit

Permalink
Use PrismJS 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siavashs committed Apr 8, 2018
1 parent 1a17bce commit 2c2b4e6
Show file tree
Hide file tree
Showing 2 changed files with 2,342 additions and 1,290 deletions.
13 changes: 10 additions & 3 deletions src/main/resources/css/prism.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/* http://prismjs.com/download.html?themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bro+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+django+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+jade+java+jolie+json+julia+keyman+kotlin+latex+less+livescript+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+properties+protobuf+puppet+pure+python+q+qore+r+jsx+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+vbnet+verilog+vhdl+vim+wiki+xojo+yaml&plugins=line-highlight+line-numbers+command-line+normalize-whitespace */
/* PrismJS 1.13.0
http://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+abap+actionscript+ada+apacheconf+apl+applescript+c+arff+asciidoc+asm6502+aspnet+autohotkey+autoit+bash+basic+batch+bison+brainfuck+bro+cpp+csharp+arduino+coffeescript+clojure+ruby+csp+css-extras+d+dart+diff+django+docker+eiffel+elixir+elm+markup-templating+erlang+fsharp+flow+fortran+gherkin+git+glsl+go+graphql+groovy+haml+handlebars+haskell+haxe+http+hpkp+hsts+ichigojam+icon+inform7+ini+io+j+java+jolie+json+julia+keyman+kotlin+latex+less+liquid+lisp+livescript+lolcode+lua+makefile+markdown+erb+matlab+mel+mizar+monkey+n4js+nasm+nginx+nim+nix+nsis+objectivec+ocaml+opencl+oz+parigp+parser+pascal+perl+php+php-extras+sql+powershell+processing+prolog+properties+protobuf+pug+puppet+pure+python+q+qore+r+jsx+typescript+renpy+reason+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+plsql+stylus+swift+tcl+textile+twig+tsx+vbnet+verilog+vhdl+vim+wiki+xeora+xojo+yaml&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 Down Expand Up @@ -144,7 +145,7 @@ pre[data-line] {

.line-highlight:before,
.line-highlight[data-end]:after {
/*content: attr(data-start);*/
content: attr(data-start);
position: absolute;
top: .4em;
left: .6em;
Expand All @@ -161,11 +162,16 @@ pre[data-line] {
}

.line-highlight[data-end]:after {
/*content: attr(data-end);*/
content: attr(data-end);
top: auto;
bottom: .4em;
}

.line-numbers .line-highlight:before,
.line-numbers .line-highlight:after {
content: none;
}

pre.line-numbers {
position: relative;
padding-left: 3.8em;
Expand Down Expand Up @@ -240,3 +246,4 @@ pre.line-numbers > code {
.command-line-prompt > span[data-prompt]:before {
content: attr(data-prompt);
}

Loading

0 comments on commit 2c2b4e6

Please sign in to comment.