# v2.0.6 Release Notes

> v2.0.5 -> v2.0.6

## Summary

Adds the `parseHeading` option to render headings as real `<h1>`-`<h6>` elements, gives alerts their own dark-mode colors, and tightens the layout: every block is separated by at least `0.5rem`, table cells wrap at `40rem`.

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

新增 `parseHeading` 選項，可將標題輸出為真正的 `<h1>`～`<h6>`；提示框補上 dark 模式專用配色；版面調整為區塊間距至少 `0.5rem`、表格儲存格 `40rem` 換行。

</details>

## Changes

### FEAT

- Add the `parseHeading` option to `Init()` (default `false`): when `true`, headings render as `<h1 class="md-h1">` to `<h6 class="md-h6">` instead of `<span class="md-hN">`; only the boolean `true` enables it, and heading styles reset the browser's default margins so both forms look the same (@pardnchiu) [7583222, bb53c31, 1ba096a]

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

- `Init()` 新增 `parseHeading` 選項（預設 `false`）：為 `true` 時標題輸出為 `<h1 class="md-h1">`～`<h6 class="md-h6">`，取代 `<span class="md-hN">`；只有布林值 `true` 會啟用，標題樣式清除瀏覽器預設 margin，兩種輸出外觀一致

</details>

### UPDATE

- Separate every top-level block by at least `0.5rem` even without a blank line; blockquotes, table wrappers and top-level lists use `0.5rem` margins (nested lists keep `0.25rem`) (@pardnchiu) [7583222, bb53c31]
- Wrap table cells at `40rem` instead of `32rem`, drop the fixed `2.75rem` cell height in favor of `0.5rem 0.875rem` padding, and render inline code inside cells at `0.75rem` (@pardnchiu) [7583222, bb53c31, 1ba096a]

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

- 頂層區塊之間即使沒有空行也至少相隔 `0.5rem`；引言、表格外框與頂層清單改用 `0.5rem` 邊距（巢狀清單維持 `0.25rem`）
- 表格儲存格換行寬度由 `32rem` 改為 `40rem`，移除固定 `2.75rem` 高度改以 `0.5rem 0.875rem` padding 控制，儲存格內的 inline code 改為 `0.75rem`

</details>

## Scope

- `src/parser/` — FEAT (`html.ts`, `index.ts`, `types.ts`)
- `src/sass/parser.scss` — FEAT, FIX, UPDATE
- `dist/` — CHORE
- `doc/` — DOC
- `package.json` — CHORE

---

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