mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
hugo: handle multiline flag descriptions
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
1 parent
b2740a4956
commit
72725b7708
1 file changed
+2
-1
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user