v2.0.9

v2.0.7 Release Notes

Released


v2.0.6 -> v2.0.7

Summary


Fixes two inline rendering gaps: email and phone links now render as real links, and emphasis marks can wrap inline code.
翻譯
修正兩處行內渲染缺口:email 與電話連結正確輸出為連結,粗斜體等樣式標記可包住行內程式碼。

Changes


FIX


  • Fix [label](mailto:...) and [label](tel:...) (inline and reference definitions) rendering as plain text; both schemes are now accepted alongside http(s) and relative paths, other schemes such as javascript: still stay as text, and mailto: / tel: links omit target="_blank" / rel="noopener" so they open in the same page (@pardnchiu) [c72e6f7, 7f9d36a]
  • Fix emphasis marks failing when they wrap inline code, such as **bold `code`**: code spans are now masked as placeholders together with math and links instead of splitting the line, so **, *, ~~ and == can span them while code content stays unstyled (@pardnchiu) [c72e6f7, 7f9d36a]

翻譯
  • 修正 [label](mailto:...) 與 [label](tel:...)(行內與參照式定義)被輸出為純文字;兩種協定與 http(s)、相對路徑同樣接受,javascript: 等其他協定仍維持原文,mailto:/tel: 連結不帶 target="_blank"/rel="noopener",於原頁開啟
  • 修正樣式標記包住行內程式碼時失效(如 **粗體 `代碼`**):行內程式碼改與數學式、連結一同以佔位符遮罩,不再切斷整行,**、*、~~、== 可跨越程式碼,程式碼內容仍不套樣式


Scope


  • src/parser/ — FIX (html.ts, inline.ts, link.ts, regex.ts)
  • dist/ — CHORE
  • doc/ — DOC
  • package.json — CHORE



Generated by SKILL