queensferryme / hugo-theme-texify

A minimal, latex-style hugo theme for personal blogging
https://texify.qufy.me
MIT License
139 stars 47 forks source link

Heading rendering problems in markdown #2

Closed Creedowl closed 4 years ago

Creedowl commented 4 years ago

I found a heading rendering problem in rendering markdown file using hugo that confused me. Hugo will render heading in markdown like this: # some heading -> <h1 id="some_heading">some heading</h1> It's content becomes it's id and so are the other heading tags (h1-h6). This may cause rendering confusion if I have a style with the same name to a heading content. eg. # header -> <h1 id="header">header</h1>

queensferryme commented 4 years ago

This issue won't be fixed currently with the reasons listed as follows:

We shall come back to this issue if it arises in some scenarios in the future.