Closed renbaoshuo closed 1 year ago
After #135, using the same heading in different posts caused the rendered posts' anchor id to be add unnecessarily suffixes.
_posts/post-1.md
--- title: Post 1 --- ## Development ## Production
will be rendered to:
<h2 id="Development">Development</h2> <h2 id="Production">Production</h2>
_posts/post-2.md
--- title: Post 2 --- ## Development ## Production
<h2 id="Development-2">Development</h2> <h2 id="Production-2">Production</h2>
actually the result should as same as _posts/post-1.md.
Should we release a new version after merge this PR?
Ready #185
Problem
After #135, using the same heading in different posts caused the rendered posts' anchor id to be add unnecessarily suffixes.
Reproduction
_posts/post-1.md
will be rendered to:
_posts/post-2.md
will be rendered to:
actually the result should as same as _posts/post-1.md.