typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 58 forks source link

[Feature] Add Typst Inline Support #5803

Open EvanLuo42 opened 1 year ago

EvanLuo42 commented 1 year ago

Typst is a language for scientific paper typesetting, which is a replacement of LaTex. Typst has a stronger ability on typing Maths equations, chemical equations, etc. On top of that, Typst is not only used by a small group of people. Many people like me use Typst in their daily working. Therefore, it would be great if Typora adds Typst's grammar support.

Here is a piece of Typst code:

$ A = pi r^2 $
$ "area" = pi dot "radius"^2 $
$ cal(A) :=
    { x in RR | x "is natural" } $
#let x = 5
$ #x < 17 $

Preview

M4n5ter commented 7 months ago

It will be great if typora support typst, many people use typst but there's no good editor support it