diff --git a/content/en/render-hooks/headings.md b/content/en/render-hooks/headings.md index dc64296ea..2635802e8 100755 --- a/content/en/render-hooks/headings.md +++ b/content/en/render-hooks/headings.md @@ -64,7 +64,7 @@ In its default configuration, Hugo renders Markdown headings according to the [C [CommonMark specification]: https://spec.commonmark.org/current/ {{< code file=layouts/_default/_markup/render-heading.html copy=true >}} - + {{- .Text -}} {{< /code >}} @@ -72,7 +72,7 @@ In its default configuration, Hugo renders Markdown headings according to the [C To add an anchor link to the right of each heading: {{< code file=layouts/_default/_markup/render-heading.html copy=true >}} - + {{ .Text }} # diff --git a/content/en/render-hooks/images.md b/content/en/render-hooks/images.md index eca346c10..d3067c5a4 100755 --- a/content/en/render-hooks/images.md +++ b/content/en/render-hooks/images.md @@ -91,7 +91,7 @@ In its default configuration, Hugo renders Markdown images according to the [Com {{< code file=layouts/_default/_markup/render-image.html copy=true >}} {{ . }} {{- /* chomp trailing newline */ -}} @@ -103,13 +103,13 @@ To render standalone images within `figure` elements: {{- if .IsBlock -}}
{{ . }} {{- with .Title }}
{{ . }}
{{ end -}}
{{- else -}} {{ . }} {{- end -}}