@@ -35,9 +35,7 @@ After completing, create a PR and request review from members for the latest adj
35
35
36
36
### Blog posts
37
37
38
- ::: headerCode
39
- 2020-05-12-my-post.md
40
- :::
38
+ ::: headerCode 2020-05-12-my-post.md
41
39
``` yaml
42
40
---
43
41
title : Post title # (Required) - between 50-65 characters
@@ -49,6 +47,7 @@ author: author's nickname # (Optional)
49
47
date : YYYY/MM/DD HH:ii:ss # (Required)
50
48
---
51
49
```
50
+ :::
52
51
53
52
::: alert warning
54
53
Available categories: ` [news, aria, wcag, tools, packages, spa, html] ` .
@@ -75,8 +74,7 @@ Add your author information `src/config/authors.json`, soon we will have a page
75
74
76
75
### Figure + Blockquote + Figcaption
77
76
78
- ::: headerCode
79
- :::
77
+ ::::: headerCode
80
78
```
81
79
:::: fig bq
82
80
::: bq
@@ -87,6 +85,7 @@ VuePress is composed of two parts: a minimalistic static site generator with a V
87
85
:::
88
86
::::
89
87
```
88
+ :::::
90
89
91
90
:::: fig bq
92
91
::: bq
@@ -99,8 +98,7 @@ VuePress is composed of two parts: a minimalistic static site generator with a V
99
98
100
99
### Tip, Note, Warning, Danger
101
100
102
- ::: headerCode
103
- :::
101
+ :::: headerCode
104
102
```
105
103
::: alert tip
106
104
This is a tip
@@ -118,6 +116,7 @@ This is a warning
118
116
This is a danger
119
117
:::
120
118
```
119
+ ::::
121
120
122
121
::: alert tip
123
122
This is a tip
@@ -137,6 +136,7 @@ This is a danger
137
136
138
137
### Figure + HeaderCode + Code block + Figcaption
139
138
139
+ ::::: headerCode
140
140
```
141
141
:::: fig code
142
142
::: headerCode
@@ -153,52 +153,53 @@ Basic usage of Vue announcer
153
153
:::
154
154
::::
155
155
```
156
+ :::::
156
157
157
158
:::: fig code
158
- ::: headerCode
159
- main.js
160
- :::
159
+ ::: headerCode main.js
161
160
``` js
162
161
import Vue from ' vue'
163
162
import VueAnnouncer from ' @vue-a11y/announcer'
164
163
165
164
Vue .use (VueAnnouncer)
166
165
```
166
+ :::
167
167
::: figcap
168
168
Basic usage of Vue announcer
169
169
:::
170
170
::::
171
171
172
172
### headerCode + Code block
173
173
174
+ :::: headerCode
174
175
```
175
- ::: headerCode
176
- main.js
177
- :::
178
- ``js
176
+ ::: headerCode main.js
177
+ ```js
179
178
import Vue from 'vue'
180
179
import VueAnnouncer from '@vue-a11y/announcer'
181
180
182
181
Vue.use(VueAnnouncer)
183
182
``
183
+ :::
184
184
```
185
+ ::::
185
186
186
- ::: headerCode
187
- main.js
188
- :::
187
+ ::: headerCode main.js
189
188
``` js
190
189
import Vue from ' vue'
191
190
import VueAnnouncer from ' @vue-a11y/announcer'
192
191
193
192
Vue .use (VueAnnouncer)
194
193
```
194
+ :::
195
195
196
196
## Vue in markdown
197
197
198
198
### IntersectionObserver component
199
199
200
200
Use this component for lazy-load of iframes, images, among other media.
201
201
202
+ ::: headerCode
202
203
``` vue
203
204
<intersection-observer>
204
205
<template v-slot="data">
@@ -211,4 +212,5 @@ Use this component for lazy-load of iframes, images, among other media.
211
212
</iframe>
212
213
</template>
213
214
</intersection-observer>
214
- ```
215
+ ```
216
+ :::
0 commit comments