Add syntax highlighting
This commit is contained in:
parent
ccc061665a
commit
f3a05f4e49
9
website/source/assets/stylesheets/_syntax.scss.erb
Normal file
9
website/source/assets/stylesheets/_syntax.scss.erb
Normal file
|
@ -0,0 +1,9 @@
|
|||
pre.highlight code {
|
||||
color: $white;
|
||||
}
|
||||
|
||||
<%= Rouge::Themes::Base16.render(scope: ".highlight") %>
|
||||
|
||||
pre.highlight code span.c1 {
|
||||
color: $gray;
|
||||
}
|
|
@ -27,6 +27,7 @@
|
|||
@import '_footer';
|
||||
@import '_buttons';
|
||||
@import '_sidebar';
|
||||
@import '_syntax';
|
||||
@import '_announcement-bnr';
|
||||
|
||||
// Pages
|
||||
|
|
Loading…
Reference in a new issue