Enforce consistent vertical spacing between paragraphs in endpoint definitions (#1969)
Use `p` elements to separate paragraphs instead of `br` and enforce single paragraphs to be wrapped in `p` for consistency. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>main
parent
32f41f88bc
commit
1f5f2c4d83
@ -0,0 +1 @@
|
|||||||
|
Enforce consistent vertical spacing between paragraphs in endpoint definitions.
|
@ -1,13 +1,13 @@
|
|||||||
{{ $ver := .v }}
|
{{ $ver := .v -}}
|
||||||
{{ $this := .this }}
|
{{ $this := .this -}}
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
This differs from the shortcode added-in by wanting to be a block instead of inline
|
This differs from the shortcode added-in by wanting to be a block instead of inline
|
||||||
and by slightly altering the rendered text as a result.
|
and by slightly altering the rendered text as a result.
|
||||||
*/}}
|
*/}}
|
||||||
|
|
||||||
{{ if $this }}
|
{{ if $this -}}
|
||||||
**New in this version.**
|
<p><strong>New in this version.</strong></p>
|
||||||
{{ else }}
|
{{ else -}}
|
||||||
**Added in `v{{ $ver }}`**
|
<p><strong>Added in <code>v{{ $ver }}</code></strong></p>
|
||||||
{{ end }}
|
{{ end -}}
|
||||||
|
Loading…
Reference in New Issue