Inline LaTeX in headings breaks in the "ON THIS PAGE" section of Obsidian Publish

Steps to reproduce

  1. Create a new vault
  2. Create a new note, using inline LaTeX ($some_math_here$) in a header. For example, try “$\Delta C_{t}$”
  3. Use Obsidian publish to publish the page
  4. Ensure page navigation is enabled for your Obsidian Publish site, which shows the headers on the side bar under the text “ON THIS PAGE”
  5. Navigate to the page using a web browser, e.g. Chrome, Firefox

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

Headers should render just like they do in the main body

Actual result

Headers do not render the LaTeX, instead, it appears as plain text

Environment

Note: Copied this after reenabling my usual plugins

SYSTEM INFO:
Obsidian version: v1.9.13
Installer version: v1.6.5
Operating system: Windows 11 Home 10.0.26100
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 4
Plugins enabled: 4
1: Recent Files v1.3.10
2: Linter v1.24.0
3: Links v1.17.2
4: Settings Search v1.3.10


Additional information

Skip the work and look at the bug live on Obsidian publish here: Comparative cycle threshold method - Andrew Riley Buhrow - Obsidian Publish

This is not a bug, but how the system currently works. Markdown (and LaTeX) is not parsed/rendered in the Outline, neither in the app nor on publish. The markers $$ are simply stripped.

Follow this FR:

Then I suppose the outline plugin’s implementation for Publish is unfinished, in my book anyway; you can’t publish website articles with those kinds of visual issues. Thanks for taking the time to redirect this, though, I appreciate it.

It’s not just Publish, the in-app Outline has the same limitation.

I understood your meaning, sorry, I wasn’t clear in my thoughts. What I was driving at was that this kind of rendering issue is perhaps tolerable for a private, personal vault, but is less tolerable for published materials, and should perhaps be marginally more of a concern because Publish is one of Obsidian’s few paid services.