Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render escaped $ symbol when I turn on Math extension #123

Open
Ken0sis opened this issue Jul 27, 2023 · 1 comment
Open

Cannot render escaped $ symbol when I turn on Math extension #123

Ken0sis opened this issue Jul 27, 2023 · 1 comment

Comments

@Ken0sis
Copy link

Ken0sis commented Jul 27, 2023

Problem Description

  • Frequently, I need to write dollar signs in financial reports. To do so, I normally escape the dollar sign by writing "\$", and my markdown editor would interpret that as a dollar sign, rather than the start of inline math.
  • If I turn on the Math extension in QLMarkdown, then it seems to render "\$" as just "$", which means it reads the financial number as inline math. However, the benefit of turning it on is that QLMarkdown can now render inline math.
  • If I turn off the Math extension in QLMarkdown, then it seems to render "\$" correctly as an escaped dollar sign, which allows me to write financial numbers. However, I would lose the ability to render inline math if I turn off the Math extension.

Is this a bug or is there a configuration I need to change, so that QLMarkdown can render inline math AND render escaped dollar sign?

Thanks!

@mccann
Copy link
Contributor

mccann commented Aug 12, 2023

Hi Ken0sis,

I submitted a pull request to this project a few months ago that changed how it processes $ symbols. So I feel responsible for that feature ;) Can you provide an example of what you mean? I tried just now to see what you meant, and was unable. I'm using the latest version 1.0.17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants