Support for "Link to Section"
Smartis2812 opened this issue ยท 6 comments
Hey,
a great improvment would be the possibiliy to use the "Link to Section".
An example is the Markdown definition from GitHub.
This would allow to create an overview or an index page.
๐
Do you know which corresponding markdown extension should be installed/activated?
I'm guess toc ๐ค
Indeed but it's still experimental in the Markdown implementation we are using: https://github.com/trentm/python-markdown2/wiki/Extras
Do you have time to test this / propose a PR?
Yes, would be possible.
Just for your information, i found a great workaround by using the <a/>
tag.
##### Table of Contents
- [Main](#main)
- [Sub1](#sub1)
- [Sub2](#sub2)
<a name="main"/>
...
<a name="sub1"/>
...
<a name="sub2"/>
...
This works perfectly for my current use-case.
So I would close this case before more work went into it and update the tests/resources/input.md โ if okey?
FYI, I'm still available testing the PR.