obsidian-plugin-dynamic-toc
obsidian-plugin-dynamic-toc copied to clipboard
Markdown in headings rendered as plain text in TOC
I noticed this using [[_TOC_]], but earlier today I switched to the code block syntax and updated to the latest plugin version, and I'm still seeing the behavior... below screenshots are with the code block syntax and plugin v 0.0.26

screenshots of the bug:


I'm unable to reproduce this, can you provide me a sample document exactly how you have it setup. I can't make out what the actual bug is here.
sure, in the first screenshot, there's italics in the headers
#### C1: *Inappropriate Information*
should render in the TOC as C1: Inappropriate Information (probably with the italics) not C1: *Inappropriate Information*
in the second one there's a link in the header
### [click here](./README.md)
should render in the TOC as click here but instead renders as [click here](./README.md)
Thanks for breaking that down, it helps a lot.
- Italics in header: I'm gonna mark that as a "wont fix", the markdown created by this plugin just gets fed into Obsidians markdown renderer. I would possibly need to build my own markdown renderer to patch that bug.
- I might be able to do something about the link issue. I can reproduce this when I disable "Use [[Wikilinks]]" in Settings -> Files & Links. Currently Wikilinks are working fine, I'll see what I can do.
good points, I have wikilinks disabled because I use VSCode on the desktop, with Obsidian in the background for syncing... now that I'm paying more attention, I see the same issues in the page outline view... maybe I should report that, because if it's fixed it might resolve both issues here as well?
I see a similar issue when putting icons in my headers. They don't get rendered appropriately. Seems like it's likely related to the rendering in TOC.
## `fas:ThList` Agenda
## `ris:CheckboxMultiple` Tasks
### Carried Forward
Should look like these:

but the TOC looks like this instead:
