Fsnotes: Markdown renders text between dollar signs

Created on 22 Jan 2020  ·  4Comments  ·  Source: glushchenko/fsnotes

Describe the bug
The text between the dollar signs ($) in the following text is rendered as italics with spaces removed:

**Subscription cost:** $20/user/month (e.g., 7 users = $1680/year)

Screenshot:

Screen Shot 2020-01-21 at 21 28 39

To Reproduce

  1. Create a new note
  2. Paste in the text above
  3. Enter preview mode

Expected behavior
Dollar signs should not have special meaning in Markdown.

Actual behavior
The text is italic, and spaces are removed.

Workaround
Use the emoji dollar sign 💲 instead of $. 🤷‍♂️

Desktop (please complete the following information):

  • OS: macOS
  • OS version: 10.14.6
  • FSNotes version: 4.0.18 (354)
bug done

Most helpful comment

I went to check if you can escape the things through \$, but it appears that it still renders. It would be a good idea to make MathJax optional in the settings, especially if you can't escape them.

All 4 comments

Text detected as MathJax formula and correspondently highlighted.

When is it triggered though? Could it be limited to inside code blocks? or even to <pre> tags?
Authors text seems like a pretty common use case where you don't want it to be triggered.

I went to check if you can escape the things through \$, but it appears that it still renders. It would be a good idea to make MathJax optional in the settings, especially if you can't escape them.

Finally! Yo can toggle ⌘-option-control-` or click menu item.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ebsmv picture ebsmv  ·  4Comments

jakemkc picture jakemkc  ·  4Comments

peanutputter picture peanutputter  ·  4Comments

ulab picture ulab  ·  3Comments

yene picture yene  ·  3Comments