xushengfeng

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

  •  
  •   xushengfeng · Jun 27, 2023 · 2051 views
    This topic created in 1059 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   ·   2543 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 15:59 · PVG 23:59 · LAX 08:59 · JFK 11:59
    ♥ Do have faith in what you're doing.