Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/shaform/hugo-theme-den.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaform <shaform@gmail.com>2018-07-16 10:15:19 +0300
committerShaform <shaform@gmail.com>2018-07-16 10:15:19 +0300
commit97f1f4a1bbee21075002cd3d27be669358fb5b78 (patch)
tree1f8f1fe60cbc56f298e6e7149cde8ddef63f7cfb /exampleSite
parent91a58cbf6bc381798a25ecbc9604d71b48b48b1e (diff)
add shhighlight
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/en/posts/shortcodes-preview.md10
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 >}}