AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

[feature]: Extended input support - mathematical support (Mathjax, KaTeX, server-side LaTeX renderer, Mathlive, etc. )

Open bohrium2b opened this issue 3 years ago • 4 comments

1~3 main use cases of the proposed feature

As a student, I want to be able to take notes and use AFFiNE as a whiteboard + note taking solution. Being able to include mathematics would be great! Also, I can imagine teachers using this for lessson plans, etc.

Ideas for solution

Implementing a latex editor, a la Zettlr (after typing latex in $ signs, Zettlr automatically renders it using a LaTeX web renderer), or using a visual math editor like MathLive, if could add a math button to the editor or by typing /math it inserts a MathLive editor (https://cortexjs.io/mathlive/), and when users navigate away from that input box, it will automatically render using a service like KaTeX (katex.org) or Mathjax (mathjax.org).

what types of users can benefit from using your proposed feature

students, anyone that needs to insert math

Additional context

No response

bohrium2b avatar Aug 09 '22 23:08 bohrium2b

Got it! We will think about how to support

alt1o avatar Aug 10 '22 01:08 alt1o