@peaceroad/markdown-it-table-ex 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@peaceroad/markdown-it-table-ex",
3
- "version": "0.2.0",
3
+ "version": "0.3.1",
4
4
  "description": "A markdown-it plugin. Add matrix and wrapper notation for table processing.",
5
5
  "type": "module",
6
6
  "main": "index.js",
7
+ "files": [
8
+ "index.js",
9
+ "LICENSE",
10
+ "README.md"
11
+ ],
7
12
  "scripts": {
8
13
  "test": "node test/test.js"
9
14
  },
@@ -11,8 +16,8 @@
11
16
  "author": "peaceroad <peaceroad@gmail.com>",
12
17
  "license": "MIT",
13
18
  "devDependencies": {
14
- "@peaceroad/markdown-it-figure-with-p-caption": "^0.12.0",
15
- "@peaceroad/markdown-it-strong-ja": "^0.4.2",
19
+ "@peaceroad/markdown-it-figure-with-p-caption": "^0.15.1",
20
+ "@peaceroad/markdown-it-strong-ja": "^0.6.1",
16
21
  "markdown-it": "^14.1.0",
17
22
  "markdown-it-multimd-table": "^4.2.3"
18
23
  }
package/test/examples.txt DELETED
@@ -1,411 +0,0 @@
1
- [Markdown]
2
- | hh0 | hh1 | hh2 |
3
- | --- | ---- | ---- |
4
- | vh1 | 11 | 12 |
5
- | vh2 | 21 | 22 |
6
- [HTML]
7
- <table>
8
- <thead>
9
- <tr>
10
- <th scope="col">hh0</th>
11
- <th scope="col">hh1</th>
12
- <th scope="col">hh2</th>
13
- </tr>
14
- </thead>
15
- <tbody>
16
- <tr>
17
- <td>vh1</td>
18
- <td>11</td>
19
- <td>12</td>
20
- </tr>
21
- <tr>
22
- <td>vh2</td>
23
- <td>21</td>
24
- <td>22</td>
25
- </tr>
26
- </tbody>
27
- </table>
28
-
29
-
30
- [Markdown]
31
- | | hh1 | hh2 |
32
- | --- | ---- | ---- |
33
- | vh1 | 11 | 12 |
34
- | vh2 | 21 | 22 |
35
- [HTML]
36
- <table>
37
- <thead>
38
- <tr>
39
- <th scope="col"></th>
40
- <th scope="col">hh1</th>
41
- <th scope="col">hh2</th>
42
- </tr>
43
- </thead>
44
- <tbody>
45
- <tr>
46
- <td>vh1</td>
47
- <td>11</td>
48
- <td>12</td>
49
- </tr>
50
- <tr>
51
- <td>vh2</td>
52
- <td>21</td>
53
- <td>22</td>
54
- </tr>
55
- </tbody>
56
- </table>
57
-
58
-
59
- [Markdown]
60
- | | hh1 | hh2 |
61
- | ------- | ---- | ---- |
62
- | **vh1** | 11 | 12 |
63
- | **vh2** | 21 | 22 |
64
- [HTML]
65
- <table>
66
- <thead>
67
- <tr>
68
- <th scope="col"></th>
69
- <th scope="col">hh1</th>
70
- <th scope="col">hh2</th>
71
- </tr>
72
- </thead>
73
- <tbody>
74
- <tr>
75
- <th scope="row">vh1</th>
76
- <td>11</td>
77
- <td>12</td>
78
- </tr>
79
- <tr>
80
- <th scope="row">vh2</th>
81
- <td>21</td>
82
- <td>22</td>
83
- </tr>
84
- </tbody>
85
- </table>
86
-
87
-
88
- [Markdown]
89
- | **hh0** | hh1 | hh2 |
90
- | ------- | ---- | ---- |
91
- | **vh1** | 11 | 12 |
92
- | **vh2** | 21 | 22 |
93
- [HTML]
94
- <table>
95
- <thead>
96
- <tr>
97
- <th scope="col">hh0</th>
98
- <th scope="col">hh1</th>
99
- <th scope="col">hh2</th>
100
- </tr>
101
- </thead>
102
- <tbody>
103
- <tr>
104
- <th scope="row">vh1</th>
105
- <td>11</td>
106
- <td>12</td>
107
- </tr>
108
- <tr>
109
- <th scope="row">vh2</th>
110
- <td>21</td>
111
- <td>22</td>
112
- </tr>
113
- </tbody>
114
- </table>
115
-
116
-
117
- [Markdown]
118
- | **hh0** | hh1 | hh2 |
119
- | ------- | ---- | ---- |
120
- | **vh1** | 11 | 12 |
121
- | **vh2** | 21 | 22 |
122
- [HTML]
123
- <table>
124
- <thead>
125
- <tr>
126
- <th scope="col">hh0</th>
127
- <th scope="col">hh1</th>
128
- <th scope="col">hh2</th>
129
- </tr>
130
- </thead>
131
- <tbody>
132
- <tr>
133
- <th scope="row">vh1</th>
134
- <td>11</td>
135
- <td>12</td>
136
- </tr>
137
- <tr>
138
- <th scope="row">vh2</th>
139
- <td>21</td>
140
- <td>22</td>
141
- </tr>
142
- </tbody>
143
- </table>
144
-
145
-
146
- [Markdown]
147
- | **hh0** | hh1 | hh2 |
148
- | ------- | ---- | ---- |
149
- | v1 | 11 | 12 |
150
- | **vh2** | 21 | 22 |
151
- [HTML]
152
- <table>
153
- <thead>
154
- <tr>
155
- <th scope="col"><strong>hh0</strong></th>
156
- <th scope="col">hh1</th>
157
- <th scope="col">hh2</th>
158
- </tr>
159
- </thead>
160
- <tbody>
161
- <tr>
162
- <td>v1</td>
163
- <td>11</td>
164
- <td>12</td>
165
- </tr>
166
- <tr>
167
- <td><strong>vh2</strong></td>
168
- <td>21</td>
169
- <td>22</td>
170
- </tr>
171
- </tbody>
172
- </table>
173
-
174
-
175
- [Markdown]
176
- | hh0 | hh1 | hh2 |
177
- | ------- | ---- | ---- |
178
- | **vh1** | 11 | 12 |
179
- | **vh2** | 21 | 22 |
180
- [HTML]
181
- <table>
182
- <thead>
183
- <tr>
184
- <th scope="col">hh0</th>
185
- <th scope="col">hh1</th>
186
- <th scope="col">hh2</th>
187
- </tr>
188
- </thead>
189
- <tbody>
190
- <tr>
191
- <td><strong>vh1</strong></td>
192
- <td>11</td>
193
- <td>12</td>
194
- </tr>
195
- <tr>
196
- <td><strong>vh2</strong></td>
197
- <td>21</td>
198
- <td>22</td>
199
- </tr>
200
- </tbody>
201
- </table>
202
-
203
-
204
- [Markdown]
205
- | ------- | ---- | ---- |
206
- | **vh1** | 11 | 12 |
207
- | **vh2** | 21 | 22 |
208
- [HTML]
209
- <table>
210
- <tbody>
211
- <tr>
212
- <th scope="row">vh1</th>
213
- <td>11</td>
214
- <td>12</td>
215
- </tr>
216
- <tr>
217
- <th scope="row">vh2</th>
218
- <td>21</td>
219
- <td>22</td>
220
- </tr>
221
- </tbody>
222
- </table>
223
-
224
-
225
-
226
- [Markdown]
227
- | **hh0** | hh1 | hh2 |
228
- | ------- | ---- | ---- |
229
- | **vh1** | 11 | 12 |
230
- | **vh2** | 21 | 22 |
231
-
232
- <!-- -->
233
-
234
- | **hh0** | hh1 | hh2 |
235
- | ------- | ---- | ---- |
236
- | **vh1** | 11 | 12 |
237
- | **vh2** | 21 | 22 |
238
- [HTML]
239
- <table>
240
- <thead>
241
- <tr>
242
- <th scope="col">hh0</th>
243
- <th scope="col">hh1</th>
244
- <th scope="col">hh2</th>
245
- </tr>
246
- </thead>
247
- <tbody>
248
- <tr>
249
- <th scope="row">vh1</th>
250
- <td>11</td>
251
- <td>12</td>
252
- </tr>
253
- <tr>
254
- <th scope="row">vh2</th>
255
- <td>21</td>
256
- <td>22</td>
257
- </tr>
258
- </tbody>
259
- </table>
260
- <!-- -->
261
- <table>
262
- <thead>
263
- <tr>
264
- <th scope="col">hh0</th>
265
- <th scope="col">hh1</th>
266
- <th scope="col">hh2</th>
267
- </tr>
268
- </thead>
269
- <tbody>
270
- <tr>
271
- <th scope="row">vh1</th>
272
- <td>11</td>
273
- <td>12</td>
274
- </tr>
275
- <tr>
276
- <th scope="row">vh2</th>
277
- <td>21</td>
278
- <td>22</td>
279
- </tr>
280
- </tbody>
281
- </table>
282
-
283
-
284
-
285
- [Markdown]
286
- | ------- | ---- | ---- |
287
- | **vh1** | 11 | 12 |
288
- | **vh2** | 21 | 22 |
289
-
290
- <!-- -->
291
-
292
- | ------- | ---- | ---- |
293
- | **vh1** | 11 | 12 |
294
- | **vh2** | 21 | 22 |
295
- [HTML]
296
- <table>
297
- <tbody>
298
- <tr>
299
- <th scope="row">vh1</th>
300
- <td>11</td>
301
- <td>12</td>
302
- </tr>
303
- <tr>
304
- <th scope="row">vh2</th>
305
- <td>21</td>
306
- <td>22</td>
307
- </tr>
308
- </tbody>
309
- </table>
310
- <!-- -->
311
- <table>
312
- <tbody>
313
- <tr>
314
- <th scope="row">vh1</th>
315
- <td>11</td>
316
- <td>12</td>
317
- </tr>
318
- <tr>
319
- <th scope="row">vh2</th>
320
- <td>21</td>
321
- <td>22</td>
322
- </tr>
323
- </tbody>
324
- </table>
325
-
326
-
327
- [Markdown]
328
- | **h*h*0** | hh1 | hh2 |
329
- | ------- | ---- | ---- |
330
- | **vh1** | 11 | 12 |
331
- | **vh2** | 21 | 22 |
332
- [HTML]
333
- <table>
334
- <thead>
335
- <tr>
336
- <th scope="col">h<em>h</em>0</th>
337
- <th scope="col">hh1</th>
338
- <th scope="col">hh2</th>
339
- </tr>
340
- </thead>
341
- <tbody>
342
- <tr>
343
- <th scope="row">vh1</th>
344
- <td>11</td>
345
- <td>12</td>
346
- </tr>
347
- <tr>
348
- <th scope="row">vh2</th>
349
- <td>21</td>
350
- <td>22</td>
351
- </tr>
352
- </tbody>
353
- </table>
354
-
355
-
356
- [Markdown]
357
- | **h**h**0** | hh1 | hh2 |
358
- | ------- | ---- | ---- |
359
- | **v**h**1** | 11 | 12 |
360
- | **vh2** | 21 | 22 |
361
- [HTML]
362
- <table>
363
- <thead>
364
- <tr>
365
- <th scope="col">h<strong>h</strong>0</th>
366
- <th scope="col">hh1</th>
367
- <th scope="col">hh2</th>
368
- </tr>
369
- </thead>
370
- <tbody>
371
- <tr>
372
- <th scope="row">v<strong>h</strong>1</th>
373
- <td>11</td>
374
- <td>12</td>
375
- </tr>
376
- <tr>
377
- <th scope="row">vh2</th>
378
- <td>21</td>
379
- <td>22</td>
380
- </tr>
381
- </tbody>
382
- </table>
383
-
384
-
385
- [Markdown]
386
- | **h**h**0** | hh1 | hh2 |
387
- | ------- | ---- | ---- |
388
- | **v<span>c</span>d** | 11 | 12 |
389
- | **vh2** | 21 | 22 |
390
- [HTML]
391
- <table>
392
- <thead>
393
- <tr>
394
- <th scope="col">h<strong>h</strong>0</th>
395
- <th scope="col">hh1</th>
396
- <th scope="col">hh2</th>
397
- </tr>
398
- </thead>
399
- <tbody>
400
- <tr>
401
- <th scope="row">v<span>c</span>d</th>
402
- <td>11</td>
403
- <td>12</td>
404
- </tr>
405
- <tr>
406
- <th scope="row">vh2</th>
407
- <td>21</td>
408
- <td>22</td>
409
- </tr>
410
- </tbody>
411
- </table>