diff options
author | Shaform <shaform@gmail.com> | 2018-07-16 10:15:19 +0300 |
---|---|---|
committer | Shaform <shaform@gmail.com> | 2018-07-16 10:15:19 +0300 |
commit | 97f1f4a1bbee21075002cd3d27be669358fb5b78 (patch) | |
tree | 1f8f1fe60cbc56f298e6e7149cde8ddef63f7cfb /exampleSite | |
parent | 91a58cbf6bc381798a25ecbc9604d71b48b48b1e (diff) |
add shhighlight
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/en/posts/shortcodes-preview.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/exampleSite/content/en/posts/shortcodes-preview.md b/exampleSite/content/en/posts/shortcodes-preview.md index b7dbee3..936bc15 100644 --- a/exampleSite/content/en/posts/shortcodes-preview.md +++ b/exampleSite/content/en/posts/shortcodes-preview.md @@ -20,3 +20,13 @@ categories: ["Demos"] ## Figure {{<figure src="/images/globe.svg" alt="Globe" align="aligncenter" width="300" caption="**Globe**">}} + + +## Highlight for Shells + +{{< shhighlight bash "hl_lines=2 4" >}} +# test +echo test +# just a test +echo hello world +{{< /shhighlight >}} |