Better math experience

Is your feature request related to a problem? Please describe.
Typing raw latex for math is not something very effective, especially when there is no realtime preview.

Describe the solution you’d like
Typora has a latex realtime preview, we could make something similar.
image

Describe alternatives you’ve considered
Even with a latex realtime preview, typing raw latex is still not a good experience. There are two possible solutions:

  1. Besides latex, also support AsciiMath mode, which is aiming for easy-to-write. http://asciimath.org/

  2. Another possible solution is MathQuill mode. https://github.com/mathquill/mathquill
    i2

Additional context

Here is example from Remnote:
ArgftmYHBm

3 Likes

https://guppy.js.org/site/ is also very good.
A plugin for math typesetting will be an awesome feature for sure.

There’s an easy work around if you want real time preview for math input in Logseq.

You can have a block reference to that block right beneath it and it would be your realtime preview.

Let’s say you want to write an equation in block A. Copy the reference to this block by Ctrl C, hit Enter and paste this block reference. This block now is the real time preview for block A.
image

4 Likes

Another interesting project for easy formula editing:
https://cortexjs.io/mathlive/

2 Likes

@hkgnp also made a plugin here Discord
https://github.com/hkgnp/darwis-mathlive-plugin

2 Likes