this post was submitted on 31 Jul 2023
12 points (100.0% liked)

ObsidianMD

4102 readers
1 users here now

Unofficial Lemmy community for https://obsidian.md

founded 1 year ago
MODERATORS
 

I'm looking for a way to create a vault TOC in a separate note including all subheadings of each note.

At the moment I do this manually into a 00.TOC note where I list notes 1.Start to X.Last with all their subheadings.

I could probably do this with Dataview, but I would prefer proper wikilinks.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Arxir@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

Have you heard of the dynamic toc plugin?

I could probably do this with Dataview, but I would prefer proper wikilinks.

I don't really understand what you mean by that. Do you mean, that you want to link to the note? Because Dataview can definitely do that. Or are you refering to linking to the headers within a note? I don't think that this can be done with Dataview.

Here a minimally working toc via Dataview btw:

[โ€“] trolske@feddit.de 1 points 1 year ago

I checked the Dynamic TOC plugin, but as far as I can see it's designed to create a TOC of a single note and not a whole vault.

And re: Dataview, I was referring to linking to headers within a note. Good to know that it definitely doesn't work.