diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ccc3b8a..d69d2d7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,30 @@ +### 2.4.0 (2019.06.16) + +- **New**: Command `toggleList` (*Note: no default keybinding assigned*) ([#237](https://github.com/yzhang-gh/vscode-markdown/issues/237), [#307](https://github.com/yzhang-gh/vscode-markdown/issues/307)) + ![toggle list](images/gifs/toggle-list.gif) +- **New**: Support KaTeX macros ([#426](https://github.com/yzhang-gh/vscode-markdown/issues/426)). Thanks, [Pierre (@PierreMarchand20)](https://github.com/PierreMarchand20). + + + +- **Fix**: Image paths ([#415](https://github.com/yzhang-gh/vscode-markdown/issues/415)). +- **Fix**: Fenced code block checking ([#434](https://github.com/yzhang-gh/vscode-markdown/issues/434)). + + + +- **Other**: Don't downcase the TOC links ([#312](https://github.com/yzhang-gh/vscode-markdown/issues/312)). Thanks, [Scott Meesseman (@spmeesseman)](https://github.com/spmeesseman). +- **Other**: Command `toggleMath` now cycles through `|` -> `$|$` -> `$$\n|\n$$` -> `$$ | $$` ([#421](https://github.com/yzhang-gh/vscode-markdown/issues/421#issuecomment-493747064)). Thanks, [Li Yiming (@upupming)](https://github.com/upupming). +- **Other**: Don't include KaTeX stylesheets in the exported HTML if no math ([#430](https://github.com/yzhang-gh/vscode-markdown/issues/430)). +- **Other**: Upgrade KaTeX ([#446](https://github.com/yzhang-gh/vscode-markdown/issues/446)). +- **Other**: Better math completions ([PR#470](https://github.com/yzhang-gh/vscode-markdown/pull/470), [PR#471](https://github.com/yzhang-gh/vscode-markdown/pull/471)) + +--- + ### 2.3.1 (2019.04.29) - **Fix**: Option `markdown.extension.print.onFileSave` not respected ([#432](https://github.com/yzhang-gh/vscode-markdown/issues/432)). +--- + ### 2.3.0 (2019.04.28) - **New** Prefer unused links for reference link label completions ([#414](https://github.com/yzhang-gh/vscode-markdown/issues/414)). Thanks, [Chris (@alshain)](https://github.com/alshain). diff --git a/README.md b/README.md index 64fa89b3..e253c81c 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ All you need for Markdown (keyboard shortcuts, table of contents, auto preview a - Markdown: Toggle code span - Markdown: Print current document to HTML - Markdown: Toggle math environment -- Markdown: Toggle unordered list +- Markdown: Toggle list ## Keyboard Shortcuts diff --git a/images/gifs/toggle-list.gif b/images/gifs/toggle-list.gif new file mode 100644 index 00000000..d3ff5678 Binary files /dev/null and b/images/gifs/toggle-list.gif differ diff --git a/package-lock.json b/package-lock.json index 87bdc293..0e8b8ac9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "markdown-all-in-one", - "version": "2.3.1", + "version": "2.4.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -1730,8 +1730,7 @@ "ansi-regex": { "version": "2.1.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "aproba": { "version": "1.2.0", @@ -1752,14 +1751,12 @@ "balanced-match": { "version": "1.0.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "brace-expansion": { "version": "1.1.11", "bundled": true, "dev": true, - "optional": true, "requires": { "balanced-match": "^1.0.0", "concat-map": "0.0.1" @@ -1774,20 +1771,17 @@ "code-point-at": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "concat-map": { "version": "0.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "console-control-strings": { "version": "1.1.0", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "core-util-is": { "version": "1.0.2", @@ -1904,8 +1898,7 @@ "inherits": { "version": "2.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "ini": { "version": "1.3.5", @@ -1917,7 +1910,6 @@ "version": "1.0.0", "bundled": true, "dev": true, - "optional": true, "requires": { "number-is-nan": "^1.0.0" } @@ -1932,7 +1924,6 @@ "version": "3.0.4", "bundled": true, "dev": true, - "optional": true, "requires": { "brace-expansion": "^1.1.7" } @@ -1940,14 +1931,12 @@ "minimist": { "version": "0.0.8", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "minipass": { "version": "2.3.5", "bundled": true, "dev": true, - "optional": true, "requires": { "safe-buffer": "^5.1.2", "yallist": "^3.0.0" @@ -1966,7 +1955,6 @@ "version": "0.5.1", "bundled": true, "dev": true, - "optional": true, "requires": { "minimist": "0.0.8" } @@ -2047,8 +2035,7 @@ "number-is-nan": { "version": "1.0.1", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "object-assign": { "version": "4.1.1", @@ -2060,7 +2047,6 @@ "version": "1.4.0", "bundled": true, "dev": true, - "optional": true, "requires": { "wrappy": "1" } @@ -2146,8 +2132,7 @@ "safe-buffer": { "version": "5.1.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "safer-buffer": { "version": "2.1.2", @@ -2183,7 +2168,6 @@ "version": "1.0.2", "bundled": true, "dev": true, - "optional": true, "requires": { "code-point-at": "^1.0.0", "is-fullwidth-code-point": "^1.0.0", @@ -2203,7 +2187,6 @@ "version": "3.0.1", "bundled": true, "dev": true, - "optional": true, "requires": { "ansi-regex": "^2.0.0" } @@ -2247,14 +2230,12 @@ "wrappy": { "version": "1.0.2", "bundled": true, - "dev": true, - "optional": true + "dev": true }, "yallist": { "version": "3.0.3", "bundled": true, - "dev": true, - "optional": true + "dev": true } } }, diff --git a/package.json b/package.json index 02baac80..89c2d32b 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "displayName": "%ext.displayName%", "description": "%ext.description%", "icon": "images/Markdown-mark.png", - "version": "2.3.1", + "version": "2.4.0", "publisher": "yzhang", "engines": { "vscode": "^1.30.2" diff --git a/package.nls.json b/package.nls.json index 9033ed65..cd364df3 100644 --- a/package.nls.json +++ b/package.nls.json @@ -46,5 +46,6 @@ "1.3.0 msg": "Introduce an exciting feature! Auto renumbering ordered list.", "1.4.0 msg": "Many new features of Markdown-All-in-One v1.4.0", "1.5.0 msg": "Long time no see. Welcome to Markdown-All-in-One v1.5.0.", - "2.1.0 msg": "Markdown All in One v2.1.0! Paste URL as link, multi-cursor support, and more." + "2.1.0 msg": "Markdown All in One v2.1.0! Paste URL as link, multi-cursor support, and more.", + "2.4.0 msg": "Markdown All in One v2.4.0! New command 'toggleList' and KaTeX macros support." } diff --git a/package.nls.zh-cn.json b/package.nls.zh-cn.json index 5affaac1..1d114572 100644 --- a/package.nls.zh-cn.json +++ b/package.nls.zh-cn.json @@ -46,5 +46,6 @@ "1.3.0 msg": "介绍一个令人兴奋的功能!自动为有序列表重新编号", "1.4.0 msg": "Markdown-All-in-One v1.4.0 带来很多新功能", "1.5.0 msg": "好久不见!欢迎使用 Markdown-All-in-One v1.5.0", - "2.1.0 msg": "Markdown All in One v2.1.0! 直接粘贴链接,多光标支持,以及更多新功能" + "2.1.0 msg": "Markdown All in One v2.1.0! 直接粘贴链接,多光标支持,以及更多新功能", + "2.4.0 msg": "Markdown All in One v2.4.0! 新功能「触发列表」,KaTeX 宏支持" } diff --git a/src/util.ts b/src/util.ts index 5501878a..9ffbd040 100644 --- a/src/util.ts +++ b/src/util.ts @@ -38,6 +38,8 @@ export function getNewFeatureMsg(version: string) { return localize("1.5.0 msg"); case '2.1.0': return localize("2.1.0 msg"); + case '2.4.0': + return localize("2.4.0 msg"); } return undefined; }