Merge commit '90ad8045056167004d27857a95542936657b8a16'

This commit is contained in:
Bjørn Erik Pedersen
2022-09-13 20:34:24 +02:00
45 changed files with 366 additions and 156 deletions

View File

@@ -80,6 +80,20 @@ func GetTitleFunc(style string) func(s string) string {
}
{{< / highlight >}}
## Highlight Hugo/GO Template Code
For highlighting Hugo/GO template code on your page, add `/*` after the opening double curly braces and `*/` before closing curly braces.
``` go
{{</*/* myshortcode */*/>}}
```
Gives this:
``` go
{{</* myshortcode */>}}
```
## Highlight Template Func
See [Highlight](/functions/highlight/).