[GH-ISSUE #426] [FR] Maths Support #193

Closed
opened 2026-03-23 20:33:43 +00:00 by mirror · 12 comments
Owner

Originally created by @garv-shah on GitHub (Mar 30, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/426

1~3 main use cases of the proposed feature
Ex: As a math student , I think it'd be great to be able to have support for inline maths or full maths blocks. This could possibly be achieved with LATEX similar to how Notion does it

what types of users can benefit from using your proposed feature
Ex: math students, general note takers which include equations, programmers, etc

Additional context
Add any other context or screenshots about the feature request here.

Originally created by @garv-shah on GitHub (Mar 30, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/426 **1~3 main use cases of the proposed feature** Ex: As a math student , I think it'd be great to be able to have support for inline maths or full maths blocks. This could possibly be achieved with LATEX similar to how Notion does it **what types of users can benefit from using your proposed feature** Ex: math students, general note takers which include equations, programmers, etc **Additional context** Add any other context or screenshots about the feature request here.
mirror 2026-03-23 20:33:43 +00:00
Author
Owner

@JianqiaoLu commented on GitHub (Jun 7, 2022):

agreed and It would be my please if I can contribute to the math equation set-up ;)

<!-- gh-comment-id:1149206706 --> @JianqiaoLu commented on GitHub (Jun 7, 2022): agreed and It would be my please if I can contribute to the math equation set-up ;)
Author
Owner

@SSebigo commented on GitHub (Oct 13, 2022):

I'm desperately looking for this feature on every Flutter editor I've found but none of them have it, some are working on it, but it's taking quite a long time.
Would be cool to have AppFlowy have a stable support first.

<!-- gh-comment-id:1277801592 --> @SSebigo commented on GitHub (Oct 13, 2022): I'm desperately looking for this feature on every Flutter editor I've found but none of them have it, some are working on it, but it's taking quite a long time. Would be cool to have AppFlowy have a stable support first.
Author
Owner

@garv-shah commented on GitHub (Oct 13, 2022):

I've been working a bit on maths support on quill like editors, you can take a look at this pr if you'd like to add anything

For now the best bet seems either to make a popup dialogue where you enter the LATEX, that then gets embedded in, like notion, or to have in text maths editing with a custom keyboard, powered by 'math_keyboard'

<!-- gh-comment-id:1278102888 --> @garv-shah commented on GitHub (Oct 13, 2022): I've been working a bit on maths support on quill like editors, you can take a look at [this pr](https://github.com/visual-space/visual-editor/pull/109) if you'd like to add anything For now the best bet seems either to make a popup dialogue where you enter the LATEX, that then gets embedded in, like notion, or to have in text maths editing with a custom keyboard, powered by 'math_keyboard'
Author
Owner

@LucasXu0 commented on GitHub (Oct 14, 2022):

Hi, @SSebigo @garv-shah. Recently, we implemented a KateX plugin in our editor. Does it meet your expectations?

katex

<!-- gh-comment-id:1278408994 --> @LucasXu0 commented on GitHub (Oct 14, 2022): Hi, @SSebigo @garv-shah. Recently, we implemented a KateX plugin in our editor. Does it meet your expectations? ![katex](https://user-images.githubusercontent.com/11863087/195752607-e8bcd9ed-ae72-495d-aa7a-c5cda4029b2e.gif)
Author
Owner

@garv-shah commented on GitHub (Oct 14, 2022):

ah that's great! it might be nice to have the ability to edit the maths afterwards, or to have an inline editor without the popup dialogue, not sure, but it's really nice to see that the support for maths is there now :)

<!-- gh-comment-id:1278435673 --> @garv-shah commented on GitHub (Oct 14, 2022): ah that's great! it might be nice to have the ability to edit the maths afterwards, or to have an inline editor without the popup dialogue, not sure, but it's really nice to see that the support for maths is there now :)
Author
Owner

@SSebigo commented on GitHub (Oct 14, 2022):

@LucasXu0 is it possible to have a toolbar to make the editor look like a basic WYSIWYG editor?
I can't seem to find anything related to that in the README.

Thx for the info, I'll try that today, it looks almost like what I'm looking for.

<!-- gh-comment-id:1278548922 --> @SSebigo commented on GitHub (Oct 14, 2022): @LucasXu0 is it possible to have a toolbar to make the editor look like a basic WYSIWYG editor? I can't seem to find anything related to that in the README. Thx for the info, I'll try that today, it looks almost like what I'm looking for.
Author
Owner

@LucasXu0 commented on GitHub (Oct 17, 2022):

or to have an inline editor without the popup dialogue

Did you mean to embed the Latex in the text? Like this,

<!-- gh-comment-id:1280168530 --> @LucasXu0 commented on GitHub (Oct 17, 2022): > or to have an inline editor without the popup dialogue Did you mean to embed the Latex in the text? Like this, <img width="509" alt="" src="https://user-images.githubusercontent.com/11863087/196073395-2bc346be-568e-4480-b512-977893394f7e.png">
Author
Owner

@LucasXu0 commented on GitHub (Oct 17, 2022):

is it possible to have a toolbar to make the editor look like a basic WYSIWYG editor?

It's possible. But it hasn't happened yet.

<!-- gh-comment-id:1280170278 --> @LucasXu0 commented on GitHub (Oct 17, 2022): > is it possible to have a toolbar to make the editor look like a basic WYSIWYG editor? It's possible. But it hasn't happened yet.
Author
Owner

@SSebigo commented on GitHub (Oct 17, 2022):

@LucasXu0 How did you achieve the inline formula in your screenshot?

<!-- gh-comment-id:1280398401 --> @SSebigo commented on GitHub (Oct 17, 2022): @LucasXu0 How did you achieve the inline formula in your screenshot?
Author
Owner

@LucasXu0 commented on GitHub (Oct 20, 2022):

@SSebigo I didn't implement the inline formula for now. This screenshot is from Github. The inline LateX feature is on my plan.

<!-- gh-comment-id:1284887221 --> @LucasXu0 commented on GitHub (Oct 20, 2022): @SSebigo I didn't implement the inline formula for now. This screenshot is from Github. The inline LateX feature is on my plan. > <img alt="" width="509" src="https://user-images.githubusercontent.com/11863087/196073395-2bc346be-568e-4480-b512-977893394f7e.png">
Author
Owner

@annieappflowy commented on GitHub (Dec 24, 2023):

image inline is supported
<!-- gh-comment-id:1868575115 --> @annieappflowy commented on GitHub (Dec 24, 2023): <img width="151" alt="image" src="https://github.com/AppFlowy-IO/AppFlowy/assets/12026239/78590f3d-4719-4dcf-b4af-ccd5640b7a9a"> inline is supported
Author
Owner

@axiomtutor commented on GitHub (Nov 8, 2024):

Note to anyone who sees this later: It is not clear how to access the inline editor, as you don't get an option when writing /math or any other slash command. (By the way, it would be nice to have that!)

To get inline math you have to right-click on a point in the document and find it in the context menu.

<!-- gh-comment-id:2465590005 --> @axiomtutor commented on GitHub (Nov 8, 2024): Note to anyone who sees this later: It is not clear how to access the inline editor, as you don't get an option when writing `/math` or any other slash command. (By the way, it would be nice to have that!) To get inline math you have to right-click on a point in the document and find it in the context menu.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#193
No description provided.