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

1 line
148 B
HTML
Raw Normal View History

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