Is it possible to add headings in Hugo/Markdown without it adding any IDs?
Eg, I add ##General Discussion.
I get <h2 id=“general-discussion”>General discussion<h2>
I’d prefer it without the ID element
Also is it possible to add images without them being enclosed in <p> tags?
also, goldmark was added very recently, are you using the latest hugo version? I think this setting could be set prior to goldmark and the markup config section as well, if you need to use an ancient hugo version.
I updated my version to 0.61.0 and that fixed the heading issue I was having. It hasn’t fixed the images in <p> tags, but I can probably live with that - though it hurts my soul whenever I see them.
regards and thanks for a great product. I’m loving using Hugo so far.
I’ll answer my own question just in case someone else encounters the same issue in regard to images rendering inside <p> tags.
If you use the markdown code for images then they are rendered inside <p> tags.
eg. ![Image](/PATH_TO_IMAGE/IMAGE.jpg) renders as <p><img src="/PATH_TO_IMAGE/IMAGE.jpg" alt="Images"></p>
However, <img src="/PATH_TO_IMAGE/IMAGE.jpg" alt="Images"> renders clean HTML as follows <img src="/PATH_TO_IMAGE/IMAGE.jpg" alt="Images">