Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[FR]: Allow for embedded markdown headings to be part of the automatic TOC #48

Open
3 tasks done
ianTevesAcc opened this issue Jul 4, 2024 · 0 comments
Open
3 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@ianTevesAcc
Copy link

If your working with multiple files and combining them into a single file. Then the table of content loses purpose as its no longer able to track embedded headings. A solution could be adding an option to add notes: which the user could link the note they embedded directly, or the plugin could just directly identify the headings inside the embeds and add them into the TOC.

image
What it could maybe look like?
image

An example of what the embed could look like:

title: 
notes: thisNote, anotherNote, anotherNote # Or maybe it could detect which notes have been embedded in the file and automatically add it in instead of adding it in manually
style: nestedList # TOC style (nestedList|nestedOrderedList|inlineFirstLevel)
minLevel: 0 # Include headings from the specified level
maxLevel: 0 # Include headings up to the specified level
includeLinks: true # Make headings clickable
debugInConsole: false # Print debug info in Obsidian console

Checklist

  • Check in the readme if your feature request is linked to a documented limitation
  • [-] Is your feature request related to a problem?
  • Describe the solution you'd like
  • Provide a Markdown block that helps describing your request, if relevant
@ianTevesAcc ianTevesAcc added the enhancement New feature or request label Jul 4, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants