Jwrede / Anki-KaTeX-Markdown

Creates a new Basic and a new Cloze Note Type that support Markdown and KaTeX
75 stars 5 forks source link

How to create cloze inside the equation #26

Closed HexWeaverNova closed 2 years ago

HexWeaverNova commented 2 years ago

For example, I want to create

$$
\frac{1}{ {{c1::2}} }=0.5
$$

And want it to be displayed as

image

How to do it by this plugin.

pilgrimlyieu commented 2 years ago

It works normal, doesn't it?

HexWeaverNova commented 2 years ago

It works normal, doesn't it?

I tried it again. It works normal.

I thought there was some problem because in the preview area it would display:

image

pilgrimlyieu commented 2 years ago

It works normal, doesn't it?

I tried it again. It works normal.

I thought there was some problem because in the preview area it would display:

image

Because the preview area can't recognize the cloze. The preview area just shows the actual result of the markdown code regardless of the cloze effect in Anki.