mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-02 05:12:15 +00:00
7 lines
266 B
HTML
7 lines
266 B
HTML
{{- $content := trim .InnerDeindent "\n\r" -}}
|
|
{{- $lang := .Get 0 -}}
|
|
{{- $options := "" -}}
|
|
{{- if len .Params | eq 2 -}}
|
|
{{- $options = .Get 1 -}}
|
|
{{- end -}}
|
|
{{- dict "Content" $content "Lang" $lang "Options" $options | partial "plugin/code-block.html" -}}
|