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

In math mode, the percent sign is not shown #1393

Closed
parabolapersuader opened this issue Jul 17, 2021 · 0 comments · Fixed by #1576
Closed

In math mode, the percent sign is not shown #1393

parabolapersuader opened this issue Jul 17, 2021 · 0 comments · Fixed by #1576

Comments

@parabolapersuader
Copy link

General information

  • App version: 2.7.0
  • Android version: 10
  • Device: Phone
  • I understand that this issue will be closed without further notice in case I didn't describe the problem including general information, or didn't search for similar issues & requests.

Description

Entering something simple like $22\%$ will show 22 instead of the percent sign.

fgtham pushed a commit to fgtham/markor that referenced this issue Feb 3, 2022
Flexmark would parse and corrupt the contents of KaTeX math expressions.
This commit circumvents the problem by fencing the math expressions.

Fixes gsantner#1389 and gsantner#1393.
@gsantner gsantner linked a pull request Feb 12, 2022 that will close this issue
gsantner added a commit that referenced this issue Feb 19, 2022
…closes #1393, by @fgtham @gsantner (PR #1576)

* Fence KaTeX math expressions
* Implement flexmark KaTeX extension based on / stripped down flexmark-ext-gitlab
* Update markor-markdown-reference template
* In addition to `$...$` and `$$...$$`, math rendering can now be enabled with `\(...\)` for inline and `\[...¸]` for display mode.

Co-authored-by: Florian Tham <[email protected]>
Co-authored-by: Gregor Santner <[email protected]>
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

Successfully merging a pull request may close this issue.

1 participant