Support for Markdown in notice shortcode
This commit is contained in:
parent
ad13ae4587
commit
bb4d388754
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
{{ $_hugo_config := `{ "version": 1 }` }}
|
||||
<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}><p>{{ .Inner }}</p></div>
|
||||
<div class="notices {{ .Get 0 }}" {{ if len .Params | eq 2 }} id="{{ .Get 1 }}" {{ end }}><p>{{ .Inner | markdownify }}</p></div>
|
||||
|
|
Loading…
Reference in a new issue