Nothing Special   »   [go: up one dir, main page]

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

Support Cloze for Latex Equations #85

Open
Mjvolk3 opened this issue Sep 26, 2022 · 4 comments
Open

Support Cloze for Latex Equations #85

Mjvolk3 opened this issue Sep 26, 2022 · 4 comments

Comments

@Mjvolk3
Copy link
Mjvolk3 commented Sep 26, 2022

When I try to use Cloze on latex equations now, they do not render properly. For example they the $ sign is just recognized as an actual $. Thanks for your consideration.

@rleyvasal
Copy link
rleyvasal commented Feb 14, 2023

This can be done as follows: [This should also be helpful in the documentation]

# Mathjax with Cloze

## \[ {{c2::\left(\frac{d}{b}\right)^{n} }}={{c1::\frac{a^{n} }{b^{n} } }} \]

\[ enter mathjax with cloze here \]

mathjax_with_cloze

@rleyvasal
Copy link

@jasonwilliams may need to look further into this one.

Maybe the math parser in Anki for VSCode is not replacing the $$ mathjax $$ to \[ mathjax \] on the ## card line.

$$ mathjax $$ not working on ## Card line but \[ mathjax \] works

Note that \[ mathjax \] is Anki Mathjax syntax

Example below

# Mathjax with Cloze

## \[ {{c2::\left(\frac{d}{b}\right)^{n} }}={{c1::\frac{a^{n} }{b^{n} } }} \]

\[ enter mathjax with cloze here \]

This is Anki syntax, not markdown.

## $$ {{c2::\left(\frac{d}{b}\right)^{n} }}={{c1::\frac{a^{n} }{b^{n} } }} $$

$$ enter mathjax with cloze here $$

Not working.

@jasonwilliams
Copy link
Owner

This looks like a duplicate of #102 can I close this?

I also commented there

@rleyvasal
Copy link
rleyvasal commented Feb 27, 2023

I believe this is not a duplicate.

This issue is about Cloze and Mathjax on the Card header, whereas #102 is about an issue with underscore _ in the Mathjax not being rendered correctly by Markdown marked parser.

Note: There are no problems with Markdown underscores _ in this issue.

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

3 participants