Closed ct-martin closed 4 years ago
Also, https://spec.commonmark.org/0.29/#links (images is the section after too)
With above commits, as much of what I can do in templates has been done.
Todo:
figure
shortcodes to plain markdown as possible
markdownify
on Title
)? Pro: formatting in <figcaption>
s; Con: not CommonMark compliantNote: it seems that Hugo isn't using the render-image.amp.html
template...
TODO: figure out later/file bug report
Cleanup across sites is outside the scope of this issue.
Code is already in place to do this; upstream bug filed at https://github.com/gohugoio/hugo/issues/7160
https://gohugo.io/getting-started/configuration-markup#render-hook-templates
Markdown is semantic and should be kept as such. Display/rendering of Markdown should be handled in the templating. Additionally, I'd like to have better semantic markdown than using non-markdown (shortcodes) since they aren't part of the specification; I want my posts to be able to be run through Pandoc (for example) or any other Markdown reader/converter of choice, without issues.
Objectives:
<figure>
)noreferrer
,noopener
,target="_blank"
for outgoing)Related: #3, #6, #7