mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ceb54819bd
Replace SyntaxHighlighter with prism.js. SyntaxHighlighter does not seem to be maintained. Prism.js seems a nice alternative with support for Ruby, javascript, erb and yaml. Prism.js uses the MIT License. https://github.com/PrismJS/prism For bash a customized definition of the bash+shell-session themes is used with the following comamnds added commands: brew, bundle, cat, git, gem, rackup, rake, rails, ruby, rubocop and yarn
23 lines
407 B
CSS
23 lines
407 B
CSS
code[class*="language-"],
|
|
pre[class*="language-"] {
|
|
white-space: pre-wrap;
|
|
text-shadow: none;
|
|
color: #222;
|
|
background: none;
|
|
}
|
|
|
|
pre[class*="language-"] {
|
|
padding: 0;
|
|
}
|
|
|
|
.token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string {
|
|
background: none;
|
|
}
|
|
|
|
.token.regex, .token.important, .token.variable {
|
|
color: #a04a2f;
|
|
}
|
|
|
|
.token.output {
|
|
color: slategray;
|
|
}
|