mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-20 00:15:24 +00:00
Elevate embedded shortcode documentation to its own section
This commit is contained in:
1 parent
8fa19b50fa
commit
a346ca1fda
25 files changed
+1067
-629
No files matched your search
@@ -0,0 +1,4 @@
|
||||
{{ $code := .Inner | strings.TrimSpace }}
|
||||
{{ $lang := or (.Get 0) "go" }}
|
||||
{{ $opts := dict "hl_inline" true "noClasses" true }}
|
||||
{{ transform.Highlight $code $lang $opts }}
|
||||
Reference in new issue
Block a user