Obsidian Publish - User defined Table of Contents (TOC) - Bookmaks

Let the user construct a custom table of content (ToC) for a published website.
Much like how the new bookmarks plugin works on desktop and as opposed to the current approach that reflect file explorer.

Related but not the same as: Reorder Files and Folders in Obsidian Publish

Tangentially related discussion to File Explorer Custom Sort:

Use case or problem

While understanding the ethos of digital gardens, I wish – as both a reader and creator --that Publish sites enabled the site owner to provide curated threads (or as Nick Milo would say, Maps of Content) as navigational tools. This might be especially appropriate for games, academic notes or fiction Obsidian Publish sites, as well as for multidisciplinary sites, where threads could provide curated experiences. Another use case might be for progressive navigation for different types of users – beginner, intermediate, advanced; or non-technical, technical. In each case the end user (reader) might then progress through a series of notes in context-specific order.

Proposed solution

A site owner should be able to toggle on a “Show Threads” option as Site Option or Component in the configuration panel. A tab or link in the Publish modal would then present a two-column configuration, with the current site navigation on the left panel and a “New/Edit/Delete Thread” panel on the right. The site owner could drag files from left to right and reorder them as needed, and then save/publish the configuration.

In the UI, a Threads “folder” could be placed at the top of the site navigation. Each created thread would appear as a subfolder which, when opened, reveals the curated files in custom order.

Current workaround (optional)

One workaround is to use a file-based Map of Content (MOC). This workaround is a little more functional in Sliding Panes mode, but many visitors are disoriented by that novelty. In standard mode, it requires clicking out of the MOC to the target, then returning to the MOC to get to the next target, etc, which doesn’t feel like a great experience.

Related feature requests (optional)

This approach could be considered as part of the general request for custom sorting of the file explorer in an Obsidian vault (File Explorer Custom Sort). The advantage of this FR is that it provides opportunities for multiple threads through content.

Thank you for considering!
Jack

Use case or problem

I’d appreciate a built-in solution to create a custom TOC (or more like a MOC) to be used:

  • Either instead of the existing TOC option (which gives list of all-notes in the sidebar) in Published notes web site
  • Or within an existing note

The point for this use case is that sometimes you need a selection of notes to be used as a TOC (not the whole lot of notes) and because the published notes are usually only a selection of the existing notes library it is very difficult to separate published / unpublished notes when trying to put together a list of your links to constitute a custome TOC/MOC.

Use case or problem

I’d like to be able to exclude certain header levels from showing up under the Table of Contents in Obsidian Publish. While this might be possible using CSS (I haven’t cracked that yet, but I’m a neophyte), it seems the Publish UI might be an easier place to manage this.

Proposed solution

In the Publish UI, if activated, enable a multi-select list to enable publishers to include/exclude specific header levels (e.g. H1, H2, H3, … H6) from appearing in the Table of Contents block.

Current workaround (optional)

Like I said, one might be able to handle by CSS, but I don’t know how to do this (suggestions?). Anyway, it would be more straightforward for nontechnical users to access this in the UI.

Thanks for considering!