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
16
16
17
17
## Supports
18
18
19
+ - Image size and Viewer
19
20
- Official markdown syntax.
20
21
- GFM TOC
21
22
- GFM style
@@ -49,6 +50,7 @@ npm install markdown-it-vue
49
50
50
51
internal plugin list:
51
52
53
+ - markdown-it-image
52
54
- markdown-it-font-awsome
53
55
- markdown-it-link-attributes
54
56
- markdown-it-highlight
@@ -106,6 +108,10 @@ amd default plugins options:
106
108
},
107
109
mermaid: {
108
110
theme: ' default'
111
+ },
112
+ image: {
113
+ hAlign: ' left' ,
114
+ viewer: true
109
115
}
110
116
}
111
117
```
@@ -167,6 +173,14 @@ PR for you lang wich you want.
167
173
- Prolog
168
174
- Erlang
169
175
176
+ ## image size
177
+
178
+ ``` md
179
+ 
180
+ 
181
+ 
182
+ ```
183
+
170
184
## about echarts
171
185
172
186
use 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
20
20
21
21
## 特性
22
22
23
+ - 图片大小控制及图片预览
23
24
- Official markdown syntax.
24
25
- GFM TOC
25
26
- GFM style
@@ -54,6 +55,7 @@ npm install markdown-it-vue
54
55
55
56
内置插件:
56
57
58
+ - markdown-it-image
57
59
- markdown-it-font-awsome
58
60
- markdown-it-link-attributes
59
61
- markdown-it-highlight
@@ -111,6 +113,10 @@ options: {
111
113
},
112
114
mermaid: {
113
115
theme: ' default'
116
+ },
117
+ image: {
118
+ hAlign: ' left' ,
119
+ viewer: true
114
120
}
115
121
}
116
122
```
@@ -176,6 +182,14 @@ this.$refs.myMarkdownItVue.use(MyMarkdownItPlugin)
176
182
- Prolog
177
183
- Erlang
178
184
185
+ ## 图片大小控制语法
186
+
187
+ ``` md
188
+ 
189
+ 
190
+ 
191
+ ```
192
+
179
193
## 关于 echarts
180
194
181
195
为了减少包的大小,只引用 echarts.simple。
Original file line number Diff line number Diff line change 1
1
export default `
2
2
# markdown-it-vue
3
3
4
+ ## Image size and Viewer
5
+
6
+ 
7
+ 
8
+
4
9
## GitHub Table of Contents
5
10
6
11
[toc]
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " markdown-it-vue" ,
3
- "version" : " 1.1.4 " ,
3
+ "version" : " 1.1.5 " ,
4
4
"private" : false ,
5
5
"description" : " The vue lib for markdown-it" ,
6
6
"author" : {
You can’t perform that action at this time.
0 commit comments