lightspeed/_posts/2019-03-25-code-snippets.md

14 lines
378 B
Markdown

---
layout: post
title: Code Snippets
description: Post about code snippets
---
Whenever you need to post a code snippet, use the liquid tags `hilight` and `endhilight` like this:
```
# some code goes here
puts "Hello World!"
```
Note that this only provides color-coding. For that you might need to use a front end colorization engine like Highlight.JS or something similar.