You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a link in Markdown, if the link text contains underscores, the resulting HTML link may not work correctly. This is because the id of the target element in HTML may not include underscores, and the href in the link must match the id exactly.
the id attributes of the headings do not contain underscores. As a result, Markdown links with underscores in the href, such as [A_TITLE](<#a_title>), won’t work because the id in HTML is written without underscores (e.g., id="atitle").
The text was updated successfully, but these errors were encountered:
When creating a link in Markdown, if the link text contains underscores, the resulting HTML link may not work correctly. This is because the
id
of the target element in HTML may not include underscores, and thehref
in the link must match theid
exactly.Consider the following example in Markdown:
[TITLE](<#title>)
[A_TITLE](<#a_title>)
[THIS_TITLE](<#this_title>)
[OTHER_TITLE](<#other_title>)
In the generated HTML:
the
id
attributes of the headings do not contain underscores. As a result, Markdown links withunderscores
in the href, such as[A_TITLE](<#a_title>)
, won’t work because the id in HTML is written without underscores (e.g.,id="atitle"
).The text was updated successfully, but these errors were encountered: