use HTML in the added-in/changed-in shortcodes

This commit is contained in:
Hubert Chathi 2022-05-27 18:03:55 -04:00
parent ebb55de80d
commit 972ccbd927
2 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@
{{ $this := .Params.this }} {{ $this := .Params.this }}
{{ if $this }} {{ if $this }}
<span>**[New in this version]**</span> <span><strong>[New in this version]</strong></span>
{{ else }} {{ else }}
<span>**[Added in `v{{ $ver }}`]**</span> <span><strong>[Added in <code>v{{ $ver }}</code>]</strong></span>
{{ end }} {{/* Do not leave an empty line at the end of this file otherwise the inline behaviour breaks. */}} {{ end }} {{/* Do not leave an empty line at the end of this file otherwise the inline behaviour breaks. */}}

View file

@ -2,7 +2,7 @@
{{ $this := .Params.this }} {{ $this := .Params.this }}
{{ if $this }} {{ if $this }}
<span>**[Changed in this version]**</span> <span><strong>[Changed in this version]</strong></span>
{{ else }} {{ else }}
<span>**[Changed in `v{{ $ver }}`]**</span> <span><strong>[Changed in <code>v{{ $ver }}</code>]</strong></span>
{{ end }} {{/* Do not leave an empty line at the end of this file otherwise the inline behaviour breaks. */}} {{ end }} {{/* Do not leave an empty line at the end of this file otherwise the inline behaviour breaks. */}}