secure-77 / Perlite

A web-based markdown viewer optimized for Obsidian

Home Page:https://perlite.secure77.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support KaTex in headings

lennartbrandin opened this issue · comments

The Problem with KaTex in headings

When trying to use KaTeX $$ inside of headings, two things should be different:

  • The heading is no longer inside the Table of Contents
  • Links to those headings are picked up by the Parsedown and converted as usual

Describe the solution you'd like
List those headings in the TOC.
Dont replace KaTex used inside of links

Additional context
Link being replaced:
image

commented

handling different languages and styles (markdown, katex, html) in one heading or link can be very complex and time consuming and as this seems to be a edge case for me, I think I won't find time to take care about this at the moment, sorry.