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

Add collapsible toc #190

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

giuseppe-dandrea
Copy link

Added the collapsible toc in the options for the extension.

tocc_preview

@simov
Copy link
Owner

simov commented Dec 10, 2022

Thanks, note that Markdown Viewer v5 just got released, so you may want to have a look as it is a substantial update that contains a lot of new features, updates and bugfixes. I will have a look at your implementation.

@hey-tommy
Copy link

hey-tommy commented Oct 16, 2024

Is there anything stopping having this commit merged?

Since it adds the collapsible TOC as a separate content option switch (that is, it doesn't replace the existing TOC option, it adds an additional TOCC option right below the existing TOC option), and all the code changes are strictly additions (no lines are changed or deleted), it seems pretty low-risk to add it as an additional feature.

Thanks to @giuseppe-dandrea for the work, and obviously, thanks to @simov for the superb extension!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants