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

Quick and dirty addition of title "Table of Contents" #32

Closed
AlfonsoRReyes opened this issue Feb 9, 2024 · 1 comment
Closed

Quick and dirty addition of title "Table of Contents" #32

AlfonsoRReyes opened this issue Feb 9, 2024 · 1 comment

Comments

@AlfonsoRReyes
Copy link

This is a quick and dirty addition of a title to the TOC plugin, like in Typora.

This how it the TOC block will look after the modification:
image

Instructions

  1. Modify line 108. Instead of const use let.
  2. Modify line 111. Add a level 2 heading as the title "Table of Contents" to the variable markdown.

Like this:

image

@AlfonsoRReyes AlfonsoRReyes changed the title Quick and dirty aqddition of title "Table of Contents" Quick and dirty addition of title "Table of Contents" Feb 9, 2024
@johansatge
Copy link
Owner

👍 see #5

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

No branches or pull requests

2 participants