Skip to content

Commit 9897be0

Browse files
committed
chore: changelog image
1 parent 0bb97b3 commit 9897be0

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

changelog/1.9/index.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Overview
44

5-
VuePress 1.9 introduced full TypeScript Support for Config file:
5+
VuePress 1.9 introduced full TypeScript Support for Config File:
66

77
![](./assets/1.9-overview.png)
88

@@ -71,7 +71,9 @@ export default defineConfig4CustomTheme<MyThemeConfig>(
7171
7272
From now, you’ll be able to enjoy the type prompt of the official plugins:
7373
74-
![](./assets/1.9-official-plugin-tuple-usage.png)
74+
<p align="center">
75+
<img src="./assets/1.9-official-plugin-tuple-usage.png" width="700">
76+
</p>
7577
7678
Options of the official plugins certainly have type prompts, **Both [Tuple Style](https://vuepress.vuejs.org/plugin/using-a-plugin.html#plugin-options) and [Object Style](https://vuepress.vuejs.org/plugin/using-a-plugin.html#plugin-options), and [Plugin Shorthand](https://vuepress.vuejs.org/plugin/using-a-plugin.html#plugin-shorthand) support type inference**:
7779
@@ -115,7 +117,9 @@ The illustration snapshot is omitted here, you can try it yourself.
115117
116118
Type inference supports [ISO Language Code](http://www.lingoes.net/en/translator/langcode.htm)
117119
118-
![](./assets/1.9-lang.png)
120+
<p align="center">
121+
<img src="./assets/1.9-lang.png" width="600">
122+
</p>
119123
120124
121125
### Context API
@@ -142,4 +146,4 @@ By default, only officially maintained and plugins under [VuePress Community](ht
142146
## Credits
143147
144148
- [bundle-require](https://github.com/egoist/bundle-require) (by [@egoist](https://github.com/egoist)): we leverage it under the hood to resolve user's config, which is powered by `esbuild`.
145-
- [vscode-ts-in-markdown](https://github.com/Amour1688/vscode-ts-in-markdown) (by [@Amour1688](https://github.com/Amour1688)): this documentation is powered by this plugin, which make type checking possible in markdown.
149+
- [vscode-ts-in-markdown](https://github.com/Amour1688/vscode-ts-in-markdown) (by [@Amour1688](https://github.com/Amour1688)): this documentation is powered by this plugin, which makes type checking possible in markdown.

0 commit comments

Comments
 (0)