Skip to content

Instantly share code, notes, and snippets.

@dunn
Created October 1, 2014 17:39
Show Gist options
  • Save dunn/6544e60f26bfe4fe628b to your computer and use it in GitHub Desktop.
Save dunn/6544e60f26bfe4fe628b to your computer and use it in GitHub Desktop.
// demystified by ben jeffrey:
// https://benjeffrey.com/posts/pandoc-syntax-highlighting-css
// https://github.com/jeffbr13/benjeffrey.com/blob/master/src/scss/_syntax-highlighting-solarized-light.scss
pre,
code {
background-color: $base03;
color: $base3;
font-family: 'Consolas', 'Input Mono', 'Monaco', monospace;
padding: 2px;
}
// Keyword
.kw {
color: $green;
}
// Data Type
.dt {
color: $blue;
}
// decimal value, BaseN, Float
.dv,
.bn,
.fl {
color: $magenta;
}
// Char (?)
.ch {
color: $red;
}
// String
.st {
color: $cyan;
}
// Comment
.co {
color: $base01;
}
// Other
.ot {
color: $yellow;
}
// Alert
.al {
color: $orange;
font-weight: bold;
}
// Function
.fu {
color: $violet;
}
// RegionMarker
.re {
color: $base01;
}
// Error
.er {
color: $red;
font-weight: bold;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment