# v2.0.10 Release Notes

> v2.0.9 -> v2.0.10

## Summary

Link text now renders rich inline content, so linked images and formatted labels work in both inline and reference links.

<details>
<summary>翻譯</summary>

連結文字改為渲染完整的行內內容，行內連結與參考式連結都能包住圖片與格式化的標籤。

</details>

## Changes

### FEAT
- Support images, inline code and math inside the text of inline links `[...](href)` and reference links `[...][ref]`: images are matched by their own pattern before links so `[![alt](src)](href)` renders a linked image, and reference links keep parsed children so unresolved references fall back to `[` + rendered label + `][ref]` instead of plain text (@pardnchiu) [1b9843c, ad9c2ae]

<details>
<summary>翻譯</summary>

- 行內連結 `[...](href)` 與參考式連結 `[...][ref]` 的文字支援圖片、行內程式碼與數學式：圖片改以獨立規則先於連結比對，`[![alt](src)](href)` 會渲染成帶連結的圖片；參考式連結保留解析後的子節點，找不到定義時退回 `[`＋渲染後的標籤＋`][ref]`，不再變成純文字

</details>

## Scope

- `src/parser/` — FEAT (`link.ts`, `regex.ts`, `types.ts`)
- `dist/` — CHORE (`parser.js`, `parser.esm.js`, `parser.debug.js`, `types/`)
- `package.json` — CHORE

***

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
