Katex parse error how to block?

Hi I just intalled the latest version of Joplin and have transferred some notes from Synology. But I have run into an issue. I have app notes for other apps. Katex is formatting them as follow:
From

Track Parser Pattern

s[Remove how many characters?]/^.{$ans[0]}// %a - %n
s/.(mp3|m4a|aiff?|wav|ogg|aac)$//
%[alt...] - %n

(It's ugly, but included in the default list) (similar to the above pattern) /(\d{2})(.)/tn s/\b(.?)\b/\u\L$1/g s/(^.)|(.)/"\u$1" || "\L$2"/ge s/^(\d+)/sprintf "%02d", $1/e

s[Text to append:]{tag}/$/$ans[0]/
/^((\d+).)/tn
s[Text to find:;Replace with:]/\Q$ans[0]\E/$ans[1]/g
s[String to replace 'Track' with:]/Track/$ans[0]/
s[Text to add:]/$/$ans[0]/
s/thing one|thing two|...//g
(theoretically possible—it would use a substitution that read from/wrote to a file) s[Text to append:]{tag}/(.
)/$1$ans[0]/
(see above)

To

Track Parser Pattern

s[Remove how many characters?]/^.{

KaTeX parse error: Undefined control sequence: [ at position 4: ans\̲[̲0]}// %a - %n …
//
%[alt...] - %n
(It's ugly, but included in the default list) (similar to the above pattern) /(\d{2})(.)/tn s/\b(.?)\b/\u\L$1/g s/(^.)|(.)/"\u$1" || "\L$2"/ge s/^(\d+)/sprintf "%02d", $1/e

s[Text to append:]{tag}///ans[0]/
/^((\d+).)/tn
s[Text to find:;Replace with:]/\Q

KaTeX parse error: Undefined control sequence: [ at position 4: ans\̲[̲0]\E/
ans[1]/g
s[String to replace 'Track' with:]/Track/
KaTeX parse error: Undefined control sequence: [ at position 4: ans\̲[̲0]/ s[Text to…
/$ans[0]/

The last thread I saw on this was in 2018. Has anything been added to Joplin to keep it from forcing formatting? Is there a way to comment out the whole document so it does not format it.

New to this so your advice is appreciated.

Thanks.

Hi @Stingo

You can move entire note into a pre-formatted block.
This is done by either indenting the content you don't want formated (select the entire note and press Tab).
Or you can surround the note with triple backticks.

e.g.

```
Your note here
```

So darn simple and I spent an hour or more trying to figure it out.

Thank you very much.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.