-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Links not working when some styling is used in the header on GitHub #25
Comments
Hi, have you got any documentational reference for the use of |
As far as Underscore for italics: https://guides.github.com/features/mastering-markdown/#syntax |
This might take a while to get fixed so here is another reference: |
You can test HTML tag filtering using the bugfix-issue-25-anchor-header-links branch: git clone https://github.com/frnmst/md-toc.git
git checkout bugfix-issue-25-anchor-header-links
make install-dev
wget https://github.com/flyte/pi-mqtt-gpio/blob/d49d599c6f2f04ba0c6c31c214fd0f49746cc170/config-doc.md
pipenv run python -m md_toc github config-doc.md I still need to write the unit tests and documentation. Afterwards it will be the turn of https://spec.commonmark.org/0.28/#emphasis-and-strong-emphasis |
Here is what I get with the current dev of md-toc. Some parts concerning the emphasis removal have not yet been implemented and will not be released in md-toc version 7.2.0, specifically rule 16 and 17 in https://spec.commonmark.org/0.28/#emphasis-and-strong-emphasis https://github.com/flyte/pi-mqtt-gpio/blob/d49d599c6f2f04ba0c6c31c214fd0f49746cc170/config-doc.md
|
- Fix some cmark emphasis detection and removal functions See issue #25
Here I've used
<small>
and_
styling: https://github.com/flyte/pi-mqtt-gpio/blob/d49d599c6f2f04ba0c6c31c214fd0f49746cc170/config-doc.mdHere I've only used the
_
styling: https://github.com/flyte/pi-mqtt-gpio/blob/e9be6b2056a2bedca8189729abd15e7ed645b839/config-doc.mdAnd here I've removed the
_
styling and it works: https://github.com/flyte/pi-mqtt-gpio/blob/c9227fc9bc3abc2e87cb02a034acaa7b972fd60f/config-doc.mdThe text was updated successfully, but these errors were encountered: