Browse Source

markdownify the figure caption

pull/10/head
Nicolas Massé 2 years ago
parent
commit
f02a0af3d2
  1. 2
      layouts/shortcodes/attachedFigure.html

2
layouts/shortcodes/attachedFigure.html

@ -5,7 +5,7 @@
<img src="{{ $image.RelPermalink }}" alt="{{- .Get "title" | plainify -}}">
{{- with .Get "title" }}
<figcaption>
{{- . -}}
{{- . | markdownify -}}
</figcaption>
{{- end }}
</figure>
Loading…
Cancel
Save