Home / GitHub Page

KaTeX parse error


#1

I’m not sure I’m very much pleased with all notes being KaTeXed. Can this be switched off?


#2

Could you post the Markdown source of the note?


#3

Sure.

http://www.squirrel.nl/pub/xfer/uploads/3C4rwZYpvcF96EWYk1n6lirw.md

html

html<sup>xxx</sup>
html<sub>xxx</sub>
!@#$%^&*()
!@#$%^&*()

id: 162c18c9847b4d60b30477e835b50530
parent_id: 1336ea5127b84a95a78598899142264e
created_time: 2018-11-18T16:16:06.184Z
updated_time: 2018-11-29T12:58:15.952Z
is_conflict: 0
latitude: 0.00000000
longitude: 0.00000000
altitude: 0.0000
author: 
source_url: 
is_todo: 0
todo_due: 0
todo_completed: 0
source: joplin-desktop
source_application: net.cozic.joplin-desktop
application_data: 
order: 0
user_created_time: 2018-11-18T16:16:06.184Z
user_updated_time: 2018-11-29T12:58:15.952Z
encryption_cipher_text: 
encryption_applied: 0
type_: 1

( I was playing with a keyboard attached to the Android)


#4

The string »dollar hatch dollar« (which cannot be typed here) is sufficient to trigger this error.


#5

$ is indeed the marker for Katex although if I remember well there are checks so for example things like prices $3 aren’t detected as Katex. I’ll check but in the meantime it’s always possible to escape markers with \ so for example that should work: !@#\$%^&*()