mirror of https://github.com/docker/docs.git
Merge pull request #18915 from dvdksn/cli-multiline-desc
hugo: handle multiline flag descriptions
This commit is contained in:
commit
f94191c981
|
@ -113,7 +113,8 @@
|
|||
{{ partial "components/badge.html" (dict "color" "blue" "content" "Swarm") }}
|
||||
{{ end }}
|
||||
{{ if .description }}
|
||||
{{ $.RenderString .description }}
|
||||
{{/* replace newlines in long desc with break tags */}}
|
||||
{{ markdownify (strings.Replace .description "\n" "<br>") }}
|
||||
{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
|
|
Loading…
Reference in New Issue