Issue #788
I just convert my blog https://onmyway133.com/ from Hexo.js back to Hugo again. Hugo now uses goldmark as the default markdown processor instead of blackfriday
All works well, except that I use GitHub markdown to write articles, which use raw HTML img
tag for uploaded images. Hugo works well with ![]()
syntax but it ignores img
tag
<img width="574" alt="Screenshot 2021-02-26 at 10 08 38" src="https://user-images.githubusercontent.com/2284279/109279894-99d09a80-781a-11eb-9d50-10f46ba94105.png">
The solution is to tell goldmark
to accept raw HTML. Put this at root level in config.yaml
in your Hugo website
markup:
goldmark:
renderer:
unsafe: true