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

marked.js 表格前面必须要有空行才能渲染,如何破

  •  
  •   balabalaguguji · Jul 15, 2021 · 869 views
    This topic created in 1759 days ago, the information mentioned may be changed or developed.

    已经有人反馈这个问题了 https://github.com/markedjs/marked/issues/1733

    但似乎还没人解决,必须在表格前面加空行才能解析。

    有高人知道怎么解决吗?自己写 tokenizer 覆盖有点懵,这个比较复杂不知道怎么写。

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4647 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 10:04 · PVG 18:04 · LAX 03:04 · JFK 06:04
    ♥ Do have faith in what you're doing.