V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
xushengfeng

用 ts 实现了一个 typst 数学语句转 MathML 的库

  •  
  •   xushengfeng · Jun 27, 2023 · 1973 views
    This topic created in 1035 days ago, the information mentioned may be changed or developed.

    前阵子出现了一款名为 typst 的开源库,用于排版(与 latex 类似)

    它的数学语句可读性更强,如1/2对应 latex 的\frac{1}{2},加之 chrome 支持了部分 MathML ,于是我写了一个 ts 库来将 typst 语句转为 MathML 。它支持大部分 typst 的数学标记语法。

    部分公式预览

    github: https://github.com/xushengfeng/xmmath

    1 replies    2024-03-11 12:37:10 +08:00
    jimmy3780
        1
    jimmy3780  
       Mar 11, 2024
    哇,真棒。我是最近才接触到的 Typst ,并且一直在尝试使用和学习。我还在想 Typst 的数学表达语法也能在其他地方使用,像 LaTeX 一样通用要不知道等多久,竟然有人已经做了,加油!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 15:11 · PVG 23:11 · LAX 08:11 · JFK 11:11
    ♥ Do have faith in what you're doing.