-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove undefined heading anchors #463
Comments
Currently, anchor IDs for Markdown headings are generated by Does |
|
@acjh If you remove
While |
I wasn't aware that |
@yamgent |
I see, I guess if we want to handle HTML headings also, then we might as well generate everything ourselves. |
If we were to handle anchor ID generation ourselves, then it will be related to #633. Since anchors are added on a Page level, using |
@Chng-Zhi-Xuan If we generate anchor IDs ourselves, we can actually also dedepulicate them by adding a numerical suffix (eg. The only exception then are dynamic includes via |
After discussion, the behaviour of IDs and anchor links should be as follows:
|
<h1>
,<h2>
, etc). While Markdown syntax headings (## Heading 2
) will have ids automatically created by MarkBind.There still needs to be a check for creating anchors for headings without IDs.
What did you expect to happen?
All anchors should have a valid
href
to jump to.What actually happened? Please include the actual, raw output.
Panel contents with headings have anchors generated but undefined
href
.The text was updated successfully, but these errors were encountered: