Damien Elmes
604ed78de4
Fix & showing up in MathJax
...
https://forums.ankiweb.net/t/anki-2-1-52-release-candidate/19412/22
Accidentally introduced in #1818
2022-05-03 14:21:31 +10:00
Henrik Giesel
2552b16f19
Instead of transforming to {\lt}, transform to < ( #1818 )
...
* Instead of transforming to {\lt}, transform to <
- In Mathjax editor
- This way you can also use Mathjax convenience shortcuts like <=> in
chemistry mode: \ce{<=>}
* Remove unused translateEntitiesToMathjax() (dae)
https://github.com/ankitects/anki/pull/1818#discussion_r857238310
2022-04-25 13:42:54 +10:00
Henrik Giesel
1d77c10b3d
Use trailingComma: all setting in .prettierrc ( #1435 )
2021-10-19 09:06:00 +10:00
Henrik Giesel
66608b06b0
Allow for explicit any
2021-09-17 21:30:32 +02:00
Henrik Giesel
159e932f79
Wrap Mathjax compilation into try/catch
2021-09-16 14:31:20 +02:00
Henrik Giesel
970a5f008b
Focus on mount when using Mathjax shortcuts
2021-09-15 13:45:17 +02:00
Henrik Giesel
32bdf0f242
Fix alignment of empty icon
2021-09-15 13:43:37 +02:00
Henrik Giesel
eb2c81c79f
Refactor editable/mathjax.ts
2021-09-15 13:33:25 +02:00
Henrik Giesel
6c0e649c79
Set color of Mathjax depending on nightMode
2021-09-15 13:33:24 +02:00
Henrik Giesel
befdbf2563
Move wrap to lib to allow editable to use it
2021-09-15 13:33:24 +02:00
Henrik Giesel
542c6965fb
Show title on mathjax image
2021-09-15 13:33:22 +02:00
Henrik Giesel
c273084243
Display error Mathjax correctly
2021-09-15 13:33:22 +02:00
Henrik Giesel
5ddbcab636
Show math icon if Mathjax is empty
2021-09-15 13:33:22 +02:00
Henrik Giesel
2787d7e7fd
Unify anki-mathjax-* to just anki-mathjax
2021-09-15 13:32:32 +02:00
Henrik Giesel
7255312ec5
Nicely portray mathjax with right color + alignment in Editor
2021-09-15 13:32:31 +02:00
Henrik Giesel
49d2dd6660
Implement MathjaxBlock
2021-09-15 13:32:30 +02:00