Math mode in header does not have corresponding header class applied

Steps to reproduce

# adjusted $R^2$ in edit mode

Expected result

$R^2$ to have cm-header-1 CSS class applied. Also applies for other headers

Actual result

No cm-header-# applied, so font size is normal, despite being part of the header


  • Operating system: Linux/macOS
  • Obsidian version: 0.7.6

Additional information



Corresponding CSS:

this was fixed at some point