mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-26 04:54:10 +01:00
use HTML in the added-in/changed-in shortcodes
This commit is contained in:
parent
ebb55de80d
commit
972ccbd927
|
|
@ -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. */}}
|
||||||
|
|
|
||||||
|
|
@ -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. */}}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue