Tags » jekyll
-
TIL: How to highlight Python console sessions in Jekyll
Adding a couple of options to the
console
lexer (console?lang=python&prompt=>>>
) gets you syntax highlighting for a Python console session. -
Getting faster Jekyll builds with caching in plugins
I was able to build my Jekyll site much faster by using the built-in caching API.
-
TIL: How to shuffle an array in a Jekyll template
If you want an array in random order, you can use the
sample
filter to get a random sample of the same size as the original array. -
TIL: Use the
{% raw %}
tag to describe Liquid in LiquidIf you’re trying to write about using Liquid tags in a Liquid-based site, wrapping your tags in the
{% raw %}
tag will prevent them being rendered. -
My custom <picture> plugin for Jekyll
How I make images that load quickly and look good for readers, and which are easy for me to manage.
-
A Jekyll filter for adding non-breaking spaces
A way to avoid awkward line breaks in the middle of phrases.
-
A Jekyll filter for obfuscating email addresses
The original Markdown implementation would do randomised hex/decimal encoding to help obscure email addresses, and I do the same in Jekyll.
-
Checking Jekyll sites with HTMLProofer