File tree Expand file tree Collapse file tree 10 files changed +896
-4
lines changed Expand file tree Collapse file tree 10 files changed +896
-4
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ npm install markdown-it-vue
1616
1717## Supports
1818
19+ - Image size and Viewer
1920- Official markdown syntax.
2021- GFM TOC
2122- GFM style
@@ -49,6 +50,7 @@ npm install markdown-it-vue
4950
5051internal plugin list:
5152
53+ - markdown-it-image
5254- markdown-it-font-awsome
5355- markdown-it-link-attributes
5456- markdown-it-highlight
@@ -106,6 +108,10 @@ amd default plugins options:
106108 },
107109 mermaid: {
108110 theme: ' default'
111+ },
112+ image: {
113+ hAlign: ' left' ,
114+ viewer: true
109115 }
110116}
111117```
@@ -167,6 +173,14 @@ PR for you lang wich you want.
167173- Prolog
168174- Erlang
169175
176+ ## image size
177+
178+ ``` md
179+ 
180+ 
181+ 
182+ ```
183+
170184## about echarts
171185
172186use echarts.simple to reduce the bundle size.
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ npm install markdown-it-vue
2020
2121## 特性
2222
23+ - 图片大小控制及图片预览
2324- Official markdown syntax.
2425- GFM TOC
2526- GFM style
@@ -54,6 +55,7 @@ npm install markdown-it-vue
5455
5556内置插件:
5657
58+ - markdown-it-image
5759- markdown-it-font-awsome
5860- markdown-it-link-attributes
5961- markdown-it-highlight
@@ -111,6 +113,10 @@ options: {
111113 },
112114 mermaid: {
113115 theme: ' default'
116+ },
117+ image: {
118+ hAlign: ' left' ,
119+ viewer: true
114120 }
115121}
116122```
@@ -176,6 +182,14 @@ this.$refs.myMarkdownItVue.use(MyMarkdownItPlugin)
176182- Prolog
177183- Erlang
178184
185+ ## 图片大小控制语法
186+
187+ ``` md
188+ 
189+ 
190+ 
191+ ```
192+
179193## 关于 echarts
180194
181195为了减少包的大小,只引用 echarts.simple。
Original file line number Diff line number Diff line change 11export default `
22# markdown-it-vue
33
4+ ## Image size and Viewer
5+
6+ 
7+ 
8+
49## GitHub Table of Contents
510
611[toc]
Original file line number Diff line number Diff line change 11{
22 "name" : " markdown-it-vue" ,
3- "version" : " 1.1.4 " ,
3+ "version" : " 1.1.5 " ,
44 "private" : false ,
55 "description" : " The vue lib for markdown-it" ,
66 "author" : {
You can’t perform that action at this time.
0 commit comments