2019-04-09 10:58:22 +00:00
|
|
|
---
|
|
|
|
layout: post
|
|
|
|
title: Code Snippets
|
2019-04-11 00:19:54 +00:00
|
|
|
description: Post about code snippets
|
2019-04-09 10:58:22 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
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.
|