AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[FR] add $...$ and $$...$$ syntax for math equation

Open zhaob1n opened this issue 1 year ago • 5 comments

Description

In the world of Markdown, it is common practice to use "$...$" for inline math equations and "$$...$$" for block math equations. This feature is widely supported, including by GitHub. It provides great convenience for users and also enhances the consistency of AppFlowy with standard Markdown conventions.

like this $mc^2$

and

$$ mc^2 $$

Impact

users that use math equations

Additional Context

Currently you have to write inline math equation in plain text then select it to make it look like equation, which is rather inconvient. This feature also solves that problem!

zhaob1n avatar Feb 19 '25 13:02 zhaob1n

Same as https://github.com/AppFlowy-IO/AppFlowy/issues/7279

Vivian-appflowy avatar Feb 20 '25 02:02 Vivian-appflowy

Why is this closed? I didn't find the commit that support this feature. And I just tried appflowy 0.10.3, it's not supported yet.

[EDIT]: Then I tried the web version, $ is supported but $$ is not. After insert $, I cannot insert the second $ without typing something in between.

zhaob1n avatar Nov 05 '25 14:11 zhaob1n

It will be supported in the upcoming app release (v0.10.4) The web app is not yet supported.

annieappflowy avatar Nov 05 '25 14:11 annieappflowy

It will be supported in the upcoming app release (v0.10.4) The web app is not yet supported.

thanks for explaining. But I am still puzzled about the fact that the latest commit chore: bump version 0.9.9 is 2 months ago. So do you mean the update code doesn't belong to this repo?

zhaob1n avatar Nov 05 '25 14:11 zhaob1n

It's part of a closed source repo We are adopting an open core model

annieappflowy avatar Nov 05 '25 15:11 annieappflowy