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

Inline markup is interpreted inside math environments #1019

Closed
saf-dmitry opened this issue Nov 25, 2020 · 2 comments
Closed

Inline markup is interpreted inside math environments #1019

saf-dmitry opened this issue Nov 25, 2020 · 2 comments
Assignees

Comments

@saf-dmitry
Copy link

Describe the bug
Inline markup is interpreted inside math environments in both editing and preview mode:
Screenshot 2020-11-25 at 13 51 35
Screenshot 2020-11-25 at 13 39 36

Expected behavior
Inline markups should be completely ignored inside inline and displayed math.

Actual behavior
Inline markups is interpreted inside inline and displayed math.

Desktop (please complete the following information):

  • OS: macOS
  • OS version: 10.14.6
  • FSNotes version: 4.9.1
@saf-dmitry
Copy link
Author

From looking at the code I can see that one need a proper math extension for the Markdown parser, which basically would detect math in Markdown source (using proper delimiter syntax for inline and display math blocks) and pass it through untouched to MathJax (probably adapting the delimiters to MathJax's needs). This can potentially solve #950.

@glushchenko
Copy link
Owner

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

No branches or pull requests

2 participants