johansatge / obsidian-automatic-table-of-contents

💠 An Obsidian plugin to create a table of contents in a note, that updates itself when the note changes
MIT License
128 stars 12 forks source link

Latex Equation Support #13

Closed j-finger closed 6 months ago

j-finger commented 10 months ago

There seems to be no Automatic TOC generator that yet supports LaTeX in the headings. Please add this to your feature list. image

stutopp commented 6 months ago

I second the motion. I had to stop using Latex in higher level headings so I could actually find things.

johansatge commented 6 months ago

Hello!

This seems to be a limitation with Obsidian internal links 🤔

Example:

[[#Title with equation $C_{a}$]]
[[#Title with equation $C_{a}$|Title with equation $C_{a}$]]
[Title with equation $C_{a}$](#Title%20with%20equation%20$C_{a}$)

# Title with equation: $C_{a}$

Some text

No matter the link style (wikilink / wikilink with custom text / markdown link) the equation isn't rendered:

I'd suggest asking on the Obsidian forum if this is an expected behavior or bug

stutopp commented 6 months ago

OK :(. Thanks for the reply. I knew in my heart of hearts that this was an Obsidian thing. Appreciate your product, though.