provide syntax based [colour] highlighting on code blocks for popular languages. I'm not happy with the line height on the list elements but couldn't see where this was defaulted. This uses the syntax [code=xxx]some code snippet[/code], where xxx represents a code/language style - with about 18 builtins.

This commit is contained in:
redmatrix
2016-06-15 19:44:15 -07:00
parent 476116a972
commit fa48de33c2
55 changed files with 23433 additions and 0 deletions

View File

@@ -0,0 +1,65 @@
.hl-main ol {
line-height: 1.0;
}
.hl-main li {
}
.hl-default {
color: Black;
}
.hl-code {
color: Black;
}
.hl-brackets {
color: Olive;
}
.hl-comment {
color: Orange;
}
.hl-quotes {
color: Darkred;
}
.hl-string {
color: Red;
}
.hl-identifier {
color: Blue;
}
.hl-builtin {
color: Teal;
}
.hl-reserved {
color: Green;
}
.hl-inlinedoc {
color: Blue;
}
.hl-var {
color: Darkblue;
}
.hl-url {
color: Blue;
}
.hl-special {
color: Navy;
}
.hl-number {
color: Maroon;
}
.hl-inlinetags {
color: Blue;
}
.hl-main {
background: #ccc none repeat scroll 0 0;
color: #000;
/* background-color: White; */
}
.hl-gutter {
background-color: #999999;
color: White
}
.hl-table {
font-family: courier;
font-size: 12px;
border: solid 1px Lightgrey;
}