hugo/tpl/tplimpl/embedded/templates/shortcodes/highlight.html

1 line
No EOL
148 B
HTML

{{ if len .Params | eq 2 }}{{ highlight (trim .Inner "\n\r") (.Get 0) (.Get 1) }}{{ else }}{{ highlight (trim .Inner "\n\r") (.Get 0) "" }}{{ end }}