Skip to content
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

Back to TOC link for headings #1197

Open
gee-forr opened this issue Nov 15, 2022 · 1 comment
Open

Back to TOC link for headings #1197

gee-forr opened this issue Nov 15, 2022 · 1 comment
Labels
Needs Discussion We haven't decided what to do.

Comments

@gee-forr
Copy link

Proposal

Is it possible to add a link after each heading that takes you back to the TOC?

Other information

By having a link next to each heading that takes you back to the TOC, it would make jumping around the document much easier for users that read the markdown outside of VSCode, especially for longer documents.

Thank you for a very useful gem!

@yzhang-gh
Copy link
Owner

That's interesting.

Personally speaking, I don't think there is an elegant way to add the back-ref links (with only the Markdown syntax). But if you are reading the exported HTML in a browser, you can navigate back to the last position with alt+left.

@yzhang-gh yzhang-gh added the Needs Discussion We haven't decided what to do. label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Discussion We haven't decided what to do.
Projects
None yet
Development

No branches or pull requests

2 participants