Creating a note with a specific content crashes Obsidian; worked in v0.7.3, introduced in v0.7.4

Steps to reproduce

  1. Create a new vault.
  2. Create a new note in that vault.
  3. Paste in the following content (without the triple backticks):
- Obsidian supports inline LateX like $1+2=3$
- But renderer does not seem to support escaping dollar signs within the LaTeX like $\$1+\$2=\$3$ even though the syntax highlighting in the editor implies that it should.
  1. Press Ctrl-E to preview the results.

Expected result

See a preview of the above note.

Actual result

Application crashes. Can’t use CTRL-E to go back to edit mode. Can switch notes. Need to force-quit the app.


  • Operating system: Windows 10
  • Obsidian version: v0.7.4

Additional information

Discovered this while trying to test if Line Numbers and long lines is fixed. Not sure if this should be a new bug, or if you want to resolve this as a duplciate of Line Numbers and long lines

Duplicate of: Escaping dollar sign in inline LaTeX doesn’t work / causes crash