2anki / server

Server to create Anki flashcards faster, easier and better today ⭐️
https://2anki.net
Other
304 stars 33 forks source link

Block equations bug: \sqrt #409

Open ironhak opened 2 years ago

ironhak commented 2 years ago

All block equations containing \sqrt get imported to anki excluding the \sqrt.

aalemayhu commented 2 years ago

Thank you for reporting this, please share an example to reduce the time it take to reproduce.

ironhak commented 2 years ago

Example with the function \underbrace: Notion: image Result on anki: image This happen with several maths functions, such as \sqrt.

Anki has a built-in latex math engine, the same as notion. The only difference is that on notion math functions are opened with $$...$$ and on anki [...] or (...) if the math formula is inline.

Edit: tried on multiple devices.

aalemayhu commented 2 years ago

Thank you for the example, I will get to this after the next deployment.

Alexander Alemayhu

On 3 Nov 2021, at 12:22 PM, ironhak @.***> wrote:

Example with the function \underbrace: Notion: https://user-images.githubusercontent.com/62611612/140051382-c065cdfb-5479-4a9c-908b-becb4f5f3978.png Result on anki: https://user-images.githubusercontent.com/62611612/140051472-94d5407f-34ba-42f9-8308-6c59ca02eade.png This happen with several maths functions, such as \sqrt.

Anki has a built-in latex math engine, the same as notion. The only difference is that on notion math functions are opened with $$...$$ and on anki [...] or (...) if the math formula is inline.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alemayhu/2anki.net/issues/409#issuecomment-958938366, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHB25FUCTVJKZRO2UWAXUDUKELN5ANCNFSM5GVFIE5A.