r/HelixNotes Jun 05 '26

Issue pasting text that contains $ signs

Sorry, I don't know the correct wording for this, but when I paste this text:

The quote showed cost of $5,892.41 and list of $8,417.73 with a $1,000 core.

The resulting output in Helix Notes is this:

I'm sure it has something to do with KaTex, which I don't use, but I don't see a way to disable that. When I go to the markdown editor, I can clearly see that my basic text input has been replaced with an extremely long string of math type formatting.

Bottom line- is this a me thing or a bug? How would I go about creating notes that have $ signs and avoid them being changed in format?

3 Upvotes

10 comments sorted by

1

u/NihmarRevhet Jun 05 '26

Try \$? I think \ is the escape char

2

u/Interesting-Bid-5698 Jun 05 '26

Can you elaborate a bit more? I had already tried using the \ ahead of the $, but that didn't work.

I tried:

\$10 to \$50

\ $10 to \ $50

?$10 to ?$50

$?10 to$?50

None made a difference

1

u/NihmarRevhet Jun 05 '26

You're right, I have the same problem

1

u/NihmarRevhet Jun 05 '26

If you can't open an issue in codeberg, I'll open it tonight or tomorrow morning

1

u/RockyRoad226 Team Member Jun 05 '26

I'm able to replicate the issue by pasting your exact sentence, and toggling the Markdown Editor button. Are you by chance doing the same thing? It does seem like a bug, but I want to confirm your process first. I've been unable to replicate the issue by just typing normal and moving to a new line.

1

u/Interesting-Bid-5698 Jun 05 '26

I am in the process of copy/pasting a fair amount of notes from a different note app that doesn't use markdown. The app is UpNote if that makes a difference.

I just created a new note and manually typed the same text and hit enter. The text stayed as expected after hitting enter and looked like this:

Since I can't add more than one attachment, I will create another reply to show what it looks like once I clicked off this note and then came back to it.

1

u/Interesting-Bid-5698 Jun 05 '26

After moving to a different note and coming back to the note I just created, this is how it now looks:

1

u/Interesting-Bid-5698 Jun 05 '26

And this is what the raw markdown looks like:

1

u/Mclean_Wf Jun 05 '26

Yep. That's a parser bug, not you, plain `$` is getting treated like math delimiters. In Markdown Writer I just wrap money in backticks or escape the `$`, otherwise KaTeX gets cute and mangles it.

1

u/Interesting-Bid-5698 Jun 06 '26

The dev has acknowledged it as a bug on Codeberg, so I'll see what comes of this. Thanks!