v2.0.3 Release Notes
Released
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.翻譯
程式碼區塊的修正版:不必註冊
OnCopyClick,點擊複製按鈕後就會顯示 copied;程式碼區塊移除框線,語言標籤直接貼合在區塊上方。Changes
FIX
- Fix the copy button giving no feedback unless
OnCopyClickadded classes itself:Refresh()now marks theprewithsuccessorerrorfor one second, then callsOnCopyClick(@pardnchiu) [e2b7fa2, 81c23fb]
翻譯
- 修正複製按鈕在未以
OnCopyClick自行加 class 時沒有任何回饋:Refresh()改為在pre標上success或error一秒,再呼叫OnCopyClick
Scope
src/parser/refresh.ts— FIXsrc/sass/parser.scss— UPDATEdoc/— DOCdist/— CHOREpackage.json— CHORE
Generated by SKILL