Post with Some Code
Bridgetown Excellent uses:
- Pygments syntax highlighter. Highlighting is done at build time.
- Monokai color scheme for syntax highlighting.
- Roboto Mono variable monospaced typeface.
Here is some Ruby code:
# Output "I love Ruby"
say = "I love Ruby"
puts say
# Output "I *LOVE* RUBY"
say['love'] = "*love*"
puts say.upcase
# Output "I *love* Ruby"
# five times
5.times { puts say }
More styles available at Jekyll pygments themes.
Edit styles in css/blocks/code.css
.