# v2.0.3 Release Notes

> v2.0.2 -> v2.0.3

## Summary

Hotfix for code blocks: the copy button now shows `copied` after a click without registering `OnCopyClick`, and code blocks drop their borders so the language label sits flush on the block.

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

程式碼區塊的修正版：不必註冊 `OnCopyClick`，點擊複製按鈕後就會顯示 `copied`；程式碼區塊移除框線，語言標籤直接貼合在區塊上方。

</details>

## Changes

### FIX

- Fix the copy button giving no feedback unless `OnCopyClick` added classes itself: `Refresh()` now marks the `pre` with `success` or `error` for one second, then calls `OnCopyClick` (@pardnchiu) [e2b7fa2, 81c23fb]

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

- 修正複製按鈕在未以 `OnCopyClick` 自行加 class 時沒有任何回饋：`Refresh()` 改為在 `pre` 標上 `success` 或 `error` 一秒，再呼叫 `OnCopyClick`

</details>

## Scope

- `src/parser/refresh.ts` — FIX
- `src/sass/parser.scss` — UPDATE
- `doc/` — DOC
- `dist/` — CHORE
- `package.json` — CHORE

---

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