v2.0.12

v2.0.12 Release Notes

Released


v2.0.11 -> v2.0.12

Summary


Brings ordered lists, ATX headings and angle-bracket autolinks in line with GFM, so their output matches what other renderers produce. The docs site is realigned with the previous release.
翻譯
有序清單、ATX 標題與角括號自動連結的輸出對齊 GFM,與其他渲染器的結果一致。文件站同步對齊上一版。

Changes


FIX


  • Keep the starting number of ordered lists that do not begin at 1.: the list node gains start and renders as <ol start="N"> (@pardnchiu) [b84804d]
  • Strip the optional closing # sequence from ATX headings; a # not preceded by whitespace, as in C#, stays in the text (@pardnchiu) [b84804d]
  • Consume the angle brackets around <https://...> autolinks instead of leaving literal < and > beside the link (@pardnchiu) [b84804d]

翻譯
  • 保留不從 1. 開始的有序清單起始編號:清單節點新增 start,輸出為 <ol start="N">
  • 移除 ATX 標題結尾的選用 # 序列;前方沒有空白的 #(如 C#)保留在文字中
  • <https://...> 自動連結連同角括號一起解析,不再在連結兩側留下 < 與 >


Scope


  • src/parser/ — FIX (html.ts, link.ts, list.ts, regex.ts, types.ts)
  • dist/ — CHORE (parser.js, parser.esm.js, parser.debug.js, types/types.d.ts)
  • wiki-worker/, .gitattributes — DOC (multiple files)



Generated by SKILL