@yozora/tokenizer-footnote 2.3.0 → 2.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/CHANGELOG.md +215 -247
- package/README.md +212 -171
- package/lib/cjs/index.cjs +1 -0
- package/lib/esm/index.mjs +1 -0
- package/package.json +7 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,501 +1,469 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
3
|
+
All notable changes to this project will be documented in this file. See
|
|
4
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
5
|
|
|
6
|
+
## [2.3.1](https://github.com/yozorajs/yozora/compare/v2.3.0...v2.3.1) (2024-01-30)
|
|
8
7
|
|
|
9
8
|
### Performance Improvements
|
|
10
9
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
- 🔧 use nx to simplify running commands on the monorepo
|
|
11
|
+
([#25](https://github.com/yozorajs/yozora/issues/25))
|
|
12
|
+
([377a126](https://github.com/yozorajs/yozora/commit/377a126f740e51cfd34bd8acc121e3e0424fc2aa))
|
|
15
13
|
|
|
14
|
+
# Change Log
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
All notable changes to this project will be documented in this file. See
|
|
17
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
18
18
|
|
|
19
|
+
# [2.3.0](https://github.com/yozorajs/yozora/compare/v2.2.0...v2.3.0) (2023-09-18)
|
|
19
20
|
|
|
20
21
|
### Performance Improvements
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
- :fire: remove 'tsconfig.json's in sub packages
|
|
24
|
+
([1e6a8b3](https://github.com/yozorajs/yozora/commit/1e6a8b39b1f4f4b84f01829b8956b1ef664e8743))
|
|
24
25
|
|
|
26
|
+
# [2.2.0](https://github.com/yozorajs/yozora/compare/v2.1.5...v2.2.0) (2023-08-21)
|
|
25
27
|
|
|
28
|
+
### Performance Improvements
|
|
26
29
|
|
|
30
|
+
- ⬆️ upgrade devDependencies
|
|
31
|
+
([bc46ce2](https://github.com/yozorajs/yozora/commit/bc46ce20cacb2eb46147d6129e42fe1390ee19fb))
|
|
27
32
|
|
|
28
33
|
## [2.1.5](https://github.com/yozorajs/yozora/compare/v2.1.4...v2.1.5) (2023-05-13)
|
|
29
34
|
|
|
30
|
-
|
|
31
35
|
### Performance Improvements
|
|
32
36
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
- 🔧 don't sourcemaps into tarball
|
|
38
|
+
([fc37aa8](https://github.com/yozorajs/yozora/commit/fc37aa8847ac4ad78ecb31f198e1cd6a85e91bcf))
|
|
39
|
+
- 📝 update CHANGELOGs
|
|
40
|
+
([c51b283](https://github.com/yozorajs/yozora/commit/c51b283874f8a562b6ed9fad46a0b7d578f6eb42))
|
|
39
41
|
|
|
40
42
|
## 2.1.4 (2023-04-02)
|
|
41
43
|
|
|
42
|
-
|
|
43
44
|
### Performance Improvements
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
- 🔧 don't pack src/ folder into tarball
|
|
47
|
+
([c9fac38](https://github.com/yozorajs/yozora/commit/c9fac382e9a7a8d6454452b0c4d5b57dac16455f))
|
|
48
|
+
- 🔖 publish v2.1.4
|
|
49
|
+
([aa464ed](https://github.com/yozorajs/yozora/commit/aa464ed1e3cd84892773a833910cfc53a556bf5f))
|
|
49
50
|
|
|
50
51
|
## 2.1.3 (2023-03-23)
|
|
51
52
|
|
|
52
|
-
|
|
53
53
|
### Performance Improvements
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
- 🔖 publish v2.1.3
|
|
56
|
+
([9abaaff](https://github.com/yozorajs/yozora/commit/9abaaff74a12d0bae0f645813241ff947a0d828c))
|
|
58
57
|
|
|
59
58
|
## 2.1.2 (2023-03-11)
|
|
60
59
|
|
|
61
|
-
|
|
62
60
|
### Performance Improvements
|
|
63
61
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
62
|
+
- 🔖 publish v2.1.2
|
|
63
|
+
([992baca](https://github.com/yozorajs/yozora/commit/992bacafd173e7788e99fed34ce8b45f6ed24cfe))
|
|
67
64
|
|
|
68
65
|
## 2.1.1 (2023-03-10)
|
|
69
66
|
|
|
70
|
-
|
|
71
67
|
### Performance Improvements
|
|
72
68
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
69
|
+
- 💥 prefer shorter types
|
|
70
|
+
([b93307f](https://github.com/yozorajs/yozora/commit/b93307f3c2372598dd8ca4fcbf04e80ce58d903d))
|
|
71
|
+
- 🔖 publish v2.1.1
|
|
72
|
+
([257a36d](https://github.com/yozorajs/yozora/commit/257a36d8dc079d4ac226405c155b238e7099bcea))
|
|
77
73
|
|
|
78
74
|
## 2.0.6 (2023-03-05)
|
|
79
75
|
|
|
80
|
-
|
|
81
76
|
### Performance Improvements
|
|
82
77
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
78
|
+
- 🔖 publish v2.0.6
|
|
79
|
+
([a263c53](https://github.com/yozorajs/yozora/commit/a263c5338103824347bac74d437051e9fbb6d791))
|
|
86
80
|
|
|
87
81
|
## 2.0.5 (2023-01-09)
|
|
88
82
|
|
|
89
|
-
|
|
90
83
|
### Performance Improvements
|
|
91
84
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
85
|
+
- 🔖 publish v2.0.5
|
|
86
|
+
([7ba3bab](https://github.com/yozorajs/yozora/commit/7ba3bab49fe65cf2f57082c0503af73da9356cf0))
|
|
95
87
|
|
|
96
88
|
## 2.0.5-alpha.0 (2023-01-05)
|
|
97
89
|
|
|
98
|
-
|
|
99
90
|
### Performance Improvements
|
|
100
91
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
92
|
+
- 🔧 fix test configuration
|
|
93
|
+
([f50b2d7](https://github.com/yozorajs/yozora/commit/f50b2d7600139e0ea54e042b025365d81f4518b5))
|
|
94
|
+
- 🔖 publish v2.0.5-alpha.0
|
|
95
|
+
([8bf941f](https://github.com/yozorajs/yozora/commit/8bf941fe4ef82947165b0f3cc123cd493665e13b))
|
|
96
|
+
- 🔧 update package entries
|
|
97
|
+
([2c94f27](https://github.com/yozorajs/yozora/commit/2c94f27ffb645119a863f2ceee68a6b1b7285a67))
|
|
98
|
+
- ⬆️ upgrade devDependencies
|
|
99
|
+
([13059a9](https://github.com/yozorajs/yozora/commit/13059a924f3ae3b7fd69080ec9e82cde34a0f097))
|
|
107
100
|
|
|
108
101
|
## 2.0.4 (2022-11-02)
|
|
109
102
|
|
|
110
|
-
|
|
111
103
|
### Performance Improvements
|
|
112
104
|
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
105
|
+
- 🔖 publish v2.0.4
|
|
106
|
+
([c980b95](https://github.com/yozorajs/yozora/commit/c980b95254394dcacba0cbb4bea251350b09397c))
|
|
116
107
|
|
|
117
108
|
## 2.0.3 (2022-10-11)
|
|
118
109
|
|
|
119
|
-
|
|
120
110
|
### Performance Improvements
|
|
121
111
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
112
|
+
- 🔖 publish v2.0.3
|
|
113
|
+
([8cc8f95](https://github.com/yozorajs/yozora/commit/8cc8f95cfebc8d752bc3272cdd24965f540c130b))
|
|
114
|
+
- 🔧 update build script
|
|
115
|
+
([d934cad](https://github.com/yozorajs/yozora/commit/d934cad21a4ab763621ca6a72379cd4294caa605))
|
|
126
116
|
|
|
127
117
|
## 2.0.2 (2022-09-24)
|
|
128
118
|
|
|
129
|
-
|
|
130
119
|
### Performance Improvements
|
|
131
120
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
121
|
+
- 📝 fix invalid links
|
|
122
|
+
([eb304c9](https://github.com/yozorajs/yozora/commit/eb304c931b2e682cf156bbceae0a20655777381e))
|
|
123
|
+
- 🔖 publish v2.0.2
|
|
124
|
+
([6911295](https://github.com/yozorajs/yozora/commit/6911295e9eacfa29563fe93494704190e50625fd))
|
|
125
|
+
- 🔧 support node@16.x.x
|
|
126
|
+
([eda301f](https://github.com/yozorajs/yozora/commit/eda301fe1047e380de5be915ae730206a026f07b))
|
|
127
|
+
- 📝 update links
|
|
128
|
+
([4467fe6](https://github.com/yozorajs/yozora/commit/4467fe646e0a95fcc7206658189884f68872bc4e))
|
|
138
129
|
|
|
139
130
|
## 2.0.2-alpha.0 (2022-05-22)
|
|
140
131
|
|
|
141
|
-
|
|
142
132
|
### Performance Improvements
|
|
143
133
|
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
134
|
+
- 🔖 publish v2.0.2-alpha.0
|
|
135
|
+
([430eaab](https://github.com/yozorajs/yozora/commit/430eaabd83f4a1ee29398ee1798aa4511976c38f))
|
|
147
136
|
|
|
148
137
|
## 2.0.1 (2022-05-21)
|
|
149
138
|
|
|
150
|
-
|
|
151
139
|
### Performance Improvements
|
|
152
140
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
141
|
+
- ✅ refactor test utils & rename createTester to createTokenizerTester
|
|
142
|
+
([7f2ce75](https://github.com/yozorajs/yozora/commit/7f2ce7571a336370d419aa01073bf8054783cfd9))
|
|
143
|
+
- 🔖 publish v2.0.1
|
|
144
|
+
([3aea330](https://github.com/yozorajs/yozora/commit/3aea33091e402bd6c7754d91d549e8d648475073))
|
|
157
145
|
|
|
158
146
|
# 2.0.0 (2022-01-15)
|
|
159
147
|
|
|
160
|
-
|
|
161
148
|
### Performance Improvements
|
|
162
149
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
150
|
+
- 🔖 publish v2.0.0
|
|
151
|
+
([65e99d1](https://github.com/yozorajs/yozora/commit/65e99d1709fdd1c918465dce6b1e91de96bdab5e))
|
|
166
152
|
|
|
167
153
|
# 2.0.0-alpha.3 (2022-01-12)
|
|
168
154
|
|
|
169
|
-
|
|
170
155
|
### Features
|
|
171
156
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
157
|
+
- 💥 [breaking] remove 'I' prefix for AST node types
|
|
158
|
+
([cad4b0b](https://github.com/yozorajs/yozora/commit/cad4b0b5b8061ea495f6455ef1554bb3c8f223a0))
|
|
159
|
+
- 💥 [breaking] remove 'IYastNode' prefix for AST types
|
|
160
|
+
([35c8fd2](https://github.com/yozorajs/yozora/commit/35c8fd2a6c27fb0bdb4020ccda5974ad05748c46))
|
|
175
161
|
|
|
176
162
|
### Performance Improvements
|
|
177
163
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
164
|
+
- 🔖 publish v2.0.0-alpha.3
|
|
165
|
+
([9f274fc](https://github.com/yozorajs/yozora/commit/9f274fc7487a8c1dd213405d92508f9a7621f730))
|
|
181
166
|
|
|
182
167
|
# 2.0.0-alpha.2 (2022-01-09)
|
|
183
168
|
|
|
184
|
-
|
|
185
169
|
### Performance Improvements
|
|
186
170
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
171
|
+
- 🎨 refactor parse-inline hooks
|
|
172
|
+
([455cfbd](https://github.com/yozorajs/yozora/commit/455cfbdfec9f3d7a738d0b3f23655805b1eaea0b))
|
|
173
|
+
- 🎨 refactor removePosition
|
|
174
|
+
([87a974f](https://github.com/yozorajs/yozora/commit/87a974fd744ae937d5778d3cdba4b345141bcaf6))
|
|
175
|
+
- 🔖 publish v2.0.0-alpha.2
|
|
176
|
+
([da59d85](https://github.com/yozorajs/yozora/commit/da59d85520455c59a117a35032ef1a035c10ea21))
|
|
177
|
+
- 🎨 simplify codes
|
|
178
|
+
([0712473](https://github.com/yozorajs/yozora/commit/0712473e824f532844e73f9e2023b591fb6bd6a5))
|
|
193
179
|
|
|
194
180
|
# 2.0.0-alpha.1 (2022-01-08)
|
|
195
181
|
|
|
196
|
-
|
|
197
182
|
### Bug Fixes
|
|
198
183
|
|
|
199
|
-
|
|
200
|
-
|
|
184
|
+
- 🐛 fix incorrect export names
|
|
185
|
+
([b2d1fa7](https://github.com/yozorajs/yozora/commit/b2d1fa71d774bd78c87aa51435ba89593ebbeb24))
|
|
201
186
|
|
|
202
187
|
### Performance Improvements
|
|
203
188
|
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
189
|
+
- 🎨 refactor inline tokenizers
|
|
190
|
+
([b3ff235](https://github.com/yozorajs/yozora/commit/b3ff235f31f18e6ae511aaa4f96919f4eb90fa5c))
|
|
191
|
+
- 🔖 publish v2.0.0-alpha.1
|
|
192
|
+
([86202e1](https://github.com/yozorajs/yozora/commit/86202e1d2b03ccfc2ab030517d9d314f7aee7666))
|
|
193
|
+
- 🎨 rename IHookContext to IThis
|
|
194
|
+
([04d5470](https://github.com/yozorajs/yozora/commit/04d5470c9949c4acfe6239289d34a8b5c6191e71))
|
|
195
|
+
- 📝 update READMEs
|
|
196
|
+
([320afeb](https://github.com/yozorajs/yozora/commit/320afebd6c500cbbce5fd65c1cd184bbd2224f25))
|
|
210
197
|
|
|
211
198
|
# 2.0.0-alpha.0 (2022-01-03)
|
|
212
199
|
|
|
213
|
-
|
|
214
200
|
### Features
|
|
215
201
|
|
|
216
|
-
|
|
217
|
-
|
|
202
|
+
- 💥 [breaking] rename types with 'I' prefix
|
|
203
|
+
([d37d862](https://github.com/yozorajs/yozora/commit/d37d862212831dbe75ac92a6dbdadf2fa81cce8c))
|
|
218
204
|
|
|
219
205
|
### Performance Improvements
|
|
220
206
|
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
207
|
+
- 💥 refactor inline tokenizers
|
|
208
|
+
([85e2d65](https://github.com/yozorajs/yozora/commit/85e2d655baf1e4f2010cbf9d80ed3a4f2d390d5c))
|
|
209
|
+
- 🔖 publish v2.0.0-alpha.0
|
|
210
|
+
([0171501](https://github.com/yozorajs/yozora/commit/0171501339c49ffd02ed16a63447fa20a47a29a7))
|
|
211
|
+
- 🎨 rename parser hooks
|
|
212
|
+
([ef6cbc5](https://github.com/yozorajs/yozora/commit/ef6cbc51323e6ef9d4cd78f1c7194ae1f7819245))
|
|
213
|
+
- 🎨 set print width to 100
|
|
214
|
+
([657a621](https://github.com/yozorajs/yozora/commit/657a6211cad52d5f1b183e7bcd7ea227b2aa7724))
|
|
227
215
|
|
|
228
216
|
# 1.3.0 (2021-10-09)
|
|
229
217
|
|
|
230
|
-
|
|
231
218
|
### Features
|
|
232
219
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
220
|
+
- 💥 move func parameter `nodePoints` to api.getNodePoints()
|
|
221
|
+
([6bbfd4e](https://github.com/yozorajs/yozora/commit/6bbfd4e9c57240eeca0acb01a0bbc83c0eafa978))
|
|
222
|
+
- 💥 move func parameter `nodePoints` to api.getNodePoints()
|
|
223
|
+
([10e5033](https://github.com/yozorajs/yozora/commit/10e503332b40dac35be93878d6763051e7022352))
|
|
236
224
|
|
|
237
225
|
### Performance Improvements
|
|
238
226
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
227
|
+
- 🔖 publish v1.3.0
|
|
228
|
+
([18c9b16](https://github.com/yozorajs/yozora/commit/18c9b167004ad97718b2f94f25139f80598cbf7a))
|
|
229
|
+
- 🎨 set the default `children` to empty array instead of undefined
|
|
230
|
+
([8fe26ca](https://github.com/yozorajs/yozora/commit/8fe26ca085ec7d48148895fddbec019a84c24a8a))
|
|
243
231
|
|
|
244
232
|
## 1.2.2 (2021-09-06)
|
|
245
233
|
|
|
246
|
-
|
|
247
234
|
### Performance Improvements
|
|
248
235
|
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
236
|
+
- 🔖 publish v1.2.2
|
|
237
|
+
([fb4b804](https://github.com/yozorajs/yozora/commit/fb4b804548592c09259aabcf9cc4dd96176bd024))
|
|
252
238
|
|
|
253
239
|
## 1.2.1 (2021-09-04)
|
|
254
240
|
|
|
255
|
-
|
|
256
241
|
### Bug Fixes
|
|
257
242
|
|
|
258
|
-
|
|
259
|
-
|
|
243
|
+
- 🐛 The first child of footnote could have higher poriority
|
|
244
|
+
([c6f947f](https://github.com/yozorajs/yozora/commit/c6f947fb3a515622b709ce4e693720062f7a17bf))
|
|
260
245
|
|
|
261
246
|
### Performance Improvements
|
|
262
247
|
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
248
|
+
- 🔖 publish v1.2.1
|
|
249
|
+
([d98d07d](https://github.com/yozorajs/yozora/commit/d98d07d7c56dd9f6bb60149b2b0a4be2787e1046))
|
|
266
250
|
|
|
267
251
|
# 1.2.0 (2021-08-22)
|
|
268
252
|
|
|
269
|
-
|
|
270
253
|
### Performance Improvements
|
|
271
254
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
255
|
+
- 🔖 publish v1.2.0
|
|
256
|
+
([86da40e](https://github.com/yozorajs/yozora/commit/86da40e50d2fe9acace68695288e15e012e6cd0d))
|
|
275
257
|
|
|
276
258
|
# 1.2.0-alpha.1 (2021-08-16)
|
|
277
259
|
|
|
278
|
-
|
|
279
260
|
### Performance Improvements
|
|
280
261
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
262
|
+
- 🔖 publish v1.2.0-alpha.1
|
|
263
|
+
([ce3c173](https://github.com/yozorajs/yozora/commit/ce3c17330085f22404668a388f2bee6f57e6e958))
|
|
284
264
|
|
|
285
265
|
# 1.2.0-alpha.0 (2021-08-15)
|
|
286
266
|
|
|
287
|
-
|
|
288
267
|
### Performance Improvements
|
|
289
268
|
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
269
|
+
- 🔖 publish v1.2.0-alpha.0
|
|
270
|
+
([bd8ef45](https://github.com/yozorajs/yozora/commit/bd8ef455a22963834a70339f42178138aab28df6))
|
|
293
271
|
|
|
294
272
|
# 1.1.0 (2021-08-12)
|
|
295
273
|
|
|
296
|
-
|
|
297
274
|
### Performance Improvements
|
|
298
275
|
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
276
|
+
- 🔖 publish v1.1.0
|
|
277
|
+
([a8c7cff](https://github.com/yozorajs/yozora/commit/a8c7cffcbdc36930ab3c744450c8feb4395a9fac))
|
|
278
|
+
- 📝 update READMEs
|
|
279
|
+
([c21fd36](https://github.com/yozorajs/yozora/commit/c21fd3671dd747da46303713f9326f4644c73f7e))
|
|
303
280
|
|
|
304
281
|
# 1.1.0-alpha.2 (2021-08-07)
|
|
305
282
|
|
|
306
|
-
|
|
307
283
|
### Performance Improvements
|
|
308
284
|
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
285
|
+
- 🔖 publish v1.1.0-alpha.2
|
|
286
|
+
([d88b8ec](https://github.com/yozorajs/yozora/commit/d88b8eca03118b9f2a8b00ac4106ea82e779bc94))
|
|
312
287
|
|
|
313
288
|
# 1.1.0-alpha.1 (2021-08-01)
|
|
314
289
|
|
|
315
|
-
|
|
316
290
|
### Performance Improvements
|
|
317
291
|
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
292
|
+
- 🔖 publish v1.1.0-alpha.1
|
|
293
|
+
([0d6aa91](https://github.com/yozorajs/yozora/commit/0d6aa91fb5a15b962b016496453dbfa7f1197126))
|
|
294
|
+
- 📝 update READMEs
|
|
295
|
+
([738d626](https://github.com/yozorajs/yozora/commit/738d626d76c535ea017812f674b43842ee073227))
|
|
322
296
|
|
|
323
297
|
# 1.1.0-alpha.0 (2021-07-31)
|
|
324
298
|
|
|
325
|
-
|
|
326
299
|
### Performance Improvements
|
|
327
300
|
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
301
|
+
- 🔖 publish v1.1.0-alpha.0
|
|
302
|
+
([082653e](https://github.com/yozorajs/yozora/commit/082653e421889513588492774503d8ddcc24b8f9))
|
|
303
|
+
- 📝 update READMEs
|
|
304
|
+
([9905f04](https://github.com/yozorajs/yozora/commit/9905f0408b15d4478d021ef5c75497817f2db9a3))
|
|
305
|
+
- 📝 update READMEs
|
|
306
|
+
([03fe64c](https://github.com/yozorajs/yozora/commit/03fe64c6a9eab9bf810d4648261e7a808a13d1e1))
|
|
333
307
|
|
|
334
308
|
# 1.0.0 (2021-07-20)
|
|
335
309
|
|
|
336
|
-
|
|
337
310
|
### Performance Improvements
|
|
338
311
|
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
312
|
+
- 🔖 publish v1.0.0
|
|
313
|
+
([ad754e3](https://github.com/yozorajs/yozora/commit/ad754e3a5945cd2ce19d9e6bfa59cb82caf0c7ac))
|
|
342
314
|
|
|
343
315
|
# 1.0.0-beta.0 (2021-07-08)
|
|
344
316
|
|
|
345
|
-
|
|
346
317
|
### Performance Improvements
|
|
347
318
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
319
|
+
- 🔖 publish v1.0.0-beta.0
|
|
320
|
+
([bb66320](https://github.com/yozorajs/yozora/commit/bb6632098367cd8cf391eb1380d4542c15383bac))
|
|
351
321
|
|
|
352
322
|
# 1.0.0-1.0.0-beta.0.0 (2021-07-08)
|
|
353
323
|
|
|
354
|
-
|
|
355
324
|
### Performance Improvements
|
|
356
325
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
326
|
+
- 🔖 publish v1.0.0-1.0.0-beta.0.0
|
|
327
|
+
([4051dd2](https://github.com/yozorajs/yozora/commit/4051dd2bcdea0d051141abaa85635e52d84c04f2))
|
|
328
|
+
- ⚡️ remove unnecessary slice operations
|
|
329
|
+
([c389b98](https://github.com/yozorajs/yozora/commit/c389b98edbe6f1fdf0b3a2b9480b8191c5d8899d))
|
|
330
|
+
- 📝 update READMEs
|
|
331
|
+
([9d9f940](https://github.com/yozorajs/yozora/commit/9d9f940a81188502db6045134054b18b747819bf))
|
|
362
332
|
|
|
363
333
|
# 1.0.0-alpha.29 (2021-07-08)
|
|
364
334
|
|
|
365
|
-
|
|
366
335
|
### Performance Improvements
|
|
367
336
|
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
337
|
+
- expose new utility func 'createTester' and 'createTesters'
|
|
338
|
+
([a4e9613](https://github.com/yozorajs/yozora/commit/a4e9613063e3e5840cf066e6e7343dbd5ffd4884))
|
|
339
|
+
- 📝 fix invalid link references
|
|
340
|
+
([f7b97b3](https://github.com/yozorajs/yozora/commit/f7b97b3dc74f065aa8f00ecd846ee4fa7f704453))
|
|
341
|
+
- 🔖 publish v1.0.0-alpha.29
|
|
342
|
+
([f2291db](https://github.com/yozorajs/yozora/commit/f2291db2812043dd6586eaabd14e427abb11663a))
|
|
343
|
+
- 🎨 use path alias in tests
|
|
344
|
+
([29cca94](https://github.com/yozorajs/yozora/commit/29cca943d4fbc6d26af4507d3fa75ac08dcf388a))
|
|
374
345
|
|
|
375
346
|
# 1.0.0-alpha.28 (2021-06-30)
|
|
376
347
|
|
|
377
|
-
|
|
378
348
|
### Performance Improvements
|
|
379
349
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
350
|
+
- 🔖 publish v1.0.0-alpha.28
|
|
351
|
+
([f18d90a](https://github.com/yozorajs/yozora/commit/f18d90a116db508bf49c9a3338a262cb85faf792))
|
|
352
|
+
- 🎨 rename variable names (use termnal 'internal' instead of 'inner')
|
|
353
|
+
([b374c26](https://github.com/yozorajs/yozora/commit/b374c2677a3b7cd0b13429c517e1f213419f2932))
|
|
384
354
|
|
|
385
355
|
# 1.0.0-alpha.27 (2021-06-28)
|
|
386
356
|
|
|
387
|
-
|
|
388
357
|
### Bug Fixes
|
|
389
358
|
|
|
390
|
-
|
|
391
|
-
|
|
359
|
+
- 🐛 FootnoteDefinitionTokenizer has priority over DefinitionTokenizer
|
|
360
|
+
([a19084a](https://github.com/yozorajs/yozora/commit/a19084ad864ee87f229ee0e9f6fde6aa3a48267e))
|
|
392
361
|
|
|
393
362
|
### Performance Improvements
|
|
394
363
|
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
364
|
+
- 🎨 update base abstract tokenizer
|
|
365
|
+
([cca9dd6](https://github.com/yozorajs/yozora/commit/cca9dd6fc3d4a22e1352378f59c7d2dccecfc5a2))
|
|
366
|
+
- 🔖 publish v1.0.0-alpha.27
|
|
367
|
+
([8efea07](https://github.com/yozorajs/yozora/commit/8efea07b2314c241c91fc113abdc8852f216c9d7))
|
|
368
|
+
- ⬆️ upgrade dev dependencies
|
|
369
|
+
([d126ff4](https://github.com/yozorajs/yozora/commit/d126ff4c81ec09b366a0c60ba2a83e7f45fbe317))
|
|
400
370
|
|
|
401
371
|
# 1.0.0-alpha.26 (2021-06-25)
|
|
402
372
|
|
|
403
|
-
|
|
404
373
|
### Performance Improvements
|
|
405
374
|
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
375
|
+
- 🔖 publish v1.0.0-alpha.26
|
|
376
|
+
([cbde29c](https://github.com/yozorajs/yozora/commit/cbde29c6188c9183f0b39ccfac0ad310803b09fe))
|
|
377
|
+
- 📝 update README
|
|
378
|
+
([37fa535](https://github.com/yozorajs/yozora/commit/37fa53559b52ab1cef6bee37ab6e94c8bdeebef4))
|
|
379
|
+
- 📝 update READMEs
|
|
380
|
+
([11e4f61](https://github.com/yozorajs/yozora/commit/11e4f6107c3862bf8c81dae882e93cab3f56f40f))
|
|
411
381
|
|
|
412
382
|
# 1.0.0-alpha.25 (2021-06-17)
|
|
413
383
|
|
|
414
|
-
|
|
415
384
|
### Bug Fixes
|
|
416
385
|
|
|
417
|
-
|
|
418
|
-
|
|
386
|
+
- 🐛 rewrite bad pairing logic
|
|
387
|
+
([eba796d](https://github.com/yozorajs/yozora/commit/eba796da154b181efc120843b2d780e8edccd5ed))
|
|
419
388
|
|
|
420
389
|
### Performance Improvements
|
|
421
390
|
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
391
|
+
- 🔖 publish v1.0.0-alpha.25
|
|
392
|
+
([5e17f71](https://github.com/yozorajs/yozora/commit/5e17f7155391c21eb1c99e5024e48d5e208e80db))
|
|
393
|
+
- ⚰️ remove delimiterGroup as we are no longer need it
|
|
394
|
+
([e9de208](https://github.com/yozorajs/yozora/commit/e9de208eca035d874e1909869ab52a0a5201dd2f))
|
|
395
|
+
- 🎨 rewrite due to the algorithm changed
|
|
396
|
+
([7216611](https://github.com/yozorajs/yozora/commit/7216611d79f9f10faaf913500341b796a58c6b1b))
|
|
397
|
+
- 🎨 tokenizer-footnote should take same priority with images and link
|
|
398
|
+
([7aaf02f](https://github.com/yozorajs/yozora/commit/7aaf02f1b66219b8eb425a50fb3b893b56852c4b))
|
|
399
|
+
- 🎨 update interface types
|
|
400
|
+
([755d774](https://github.com/yozorajs/yozora/commit/755d7749777a4cc5bded6fab07dc89c0e9c2548d))
|
|
429
401
|
|
|
430
402
|
# 1.0.0-alpha.24 (2021-06-10)
|
|
431
403
|
|
|
432
|
-
|
|
433
404
|
### Performance Improvements
|
|
434
405
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
406
|
+
- 🔖 publish v1.0.0-alpha.24
|
|
407
|
+
([6169f8e](https://github.com/yozorajs/yozora/commit/6169f8ecda42e04203e4533f820e82ea3e93b7dd))
|
|
438
408
|
|
|
439
409
|
# 1.0.0-alpha.23 (2021-06-08)
|
|
440
410
|
|
|
441
|
-
|
|
442
411
|
### Performance Improvements
|
|
443
412
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
413
|
+
- Move repository from github.com/guanghechen to github.com/yozorajs
|
|
414
|
+
([c1fd32c](https://github.com/yozorajs/yozora/commit/c1fd32ce818b44aa0d993ec8f74ef514bdf2d834))
|
|
415
|
+
- 🔖 publish v1.0.0-alpha.23
|
|
416
|
+
([131a216](https://github.com/yozorajs/yozora/commit/131a2162b64eb23f98e93286974f4a3e4a91b77a))
|
|
417
|
+
- 📝 update READMEs
|
|
418
|
+
([6420941](https://github.com/yozorajs/yozora/commit/64209414cacdaf0e04329e2c86e6ff41f885f55f))
|
|
449
419
|
|
|
450
420
|
# 1.0.0-alpha.22 (2021-05-20)
|
|
451
421
|
|
|
452
|
-
|
|
453
422
|
### Performance Improvements
|
|
454
423
|
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
424
|
+
- 🎨 lint codes
|
|
425
|
+
([0d2d798](https://github.com/yozorajs/yozora/commit/0d2d7988d1d46f873e2a9f5d37de9c5daa39a109))
|
|
426
|
+
- 🔖 publish v1.0.0-alpha.22
|
|
427
|
+
([a07a41d](https://github.com/yozorajs/yozora/commit/a07a41de8dda2ff579b0e5b469db75d6c629c38b))
|
|
428
|
+
- 🔧 rename the main branch to 'main' instead of 'master'
|
|
429
|
+
([c915653](https://github.com/yozorajs/yozora/commit/c9156537fba68ce073e139eb487afb973b7d90ba))
|
|
460
430
|
|
|
461
431
|
# 1.0.0-alpha.21 (2021-05-12)
|
|
462
432
|
|
|
463
|
-
|
|
464
433
|
### Performance Improvements
|
|
465
434
|
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
435
|
+
- 🔖 publish v1.0.0-alpha.21
|
|
436
|
+
([e6655a2](https://github.com/yozorajs/yozora/commit/e6655a252c0b799d0990f06bc7cfdadc6824b63c))
|
|
469
437
|
|
|
470
438
|
# 1.0.0-alpha.20 (2021-04-20)
|
|
471
439
|
|
|
472
|
-
|
|
473
440
|
### Performance Improvements
|
|
474
441
|
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
442
|
+
- 🔖 publish v1.0.0-alpha.20
|
|
443
|
+
([3f3831f](https://github.com/yozorajs/yozora/commit/3f3831fb6fdb72319e7d24a1ba4b51b44bdb4c8d))
|
|
478
444
|
|
|
479
445
|
# 1.0.0-alpha.19 (2021-04-19)
|
|
480
446
|
|
|
481
|
-
|
|
482
447
|
### Performance Improvements
|
|
483
448
|
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
449
|
+
- 🔖 publish v1.0.0-alpha.19
|
|
450
|
+
([50b55f9](https://github.com/yozorajs/yozora/commit/50b55f9e5fd1d00c03d271a488d2a648ccd0a1d1))
|
|
451
|
+
- 📝 update READMEs
|
|
452
|
+
([907af97](https://github.com/yozorajs/yozora/commit/907af97f8c0bca5b045ccae188c6b759e88ec38c))
|
|
488
453
|
|
|
489
454
|
# 1.0.0-alpha.18 (2021-04-18)
|
|
490
455
|
|
|
491
|
-
|
|
492
456
|
### Features
|
|
493
457
|
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
458
|
+
- ✨ implemented new tokenizer @yozora/tokenizer-definition-footnote & and built it into
|
|
459
|
+
@yozora/parser & update tests
|
|
460
|
+
([dad817f](https://github.com/yozorajs/yozora/commit/dad817f24d43731167d972a31742a7898354f920))
|
|
461
|
+
- ✨ implemented new tokenizer @yozora/tokenizer-footnote & and built it into @yozora/parser
|
|
462
|
+
([9def79e](https://github.com/yozorajs/yozora/commit/9def79ee667d26772dddc8387807fab1576bb763))
|
|
497
463
|
|
|
498
464
|
### Performance Improvements
|
|
499
465
|
|
|
500
|
-
|
|
501
|
-
|
|
466
|
+
- 🔖 publish v1.0.0-alpha.18
|
|
467
|
+
([219b28b](https://github.com/yozorajs/yozora/commit/219b28b38975d6d41f6c285a512a5c0dccceb6fa))
|
|
468
|
+
- 🎨 rename TokenizerPriority.LINK_OR_IMAGE to TokenizerPriority.LINKS
|
|
469
|
+
([53f719f](https://github.com/yozorajs/yozora/commit/53f719f2ef0dbf12029aa015e034a9a0f13378bf))
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<header>
|
|
4
4
|
<h1 align="center">
|
|
5
|
-
<a href="https://github.com/yozorajs/yozora/tree/v2.3.
|
|
5
|
+
<a href="https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme">@yozora/tokenizer-footnote</a>
|
|
6
6
|
</h1>
|
|
7
7
|
<div align="center">
|
|
8
8
|
<a href="https://www.npmjs.com/package/@yozora/tokenizer-footnote">
|
|
@@ -53,35 +53,34 @@
|
|
|
53
53
|
|
|
54
54
|
<!-- :end -->
|
|
55
55
|
|
|
56
|
-
[@yozora/tokenizer-footnote] produce [Footnote][node-type] type nodes.
|
|
57
|
-
|
|
56
|
+
[@yozora/tokenizer-footnote] produce [Footnote][node-type] type nodes. See [documentation][docpage]
|
|
57
|
+
for details.
|
|
58
58
|
|
|
59
59
|
<!-- :begin use tokenizer/usage -->
|
|
60
60
|
|
|
61
61
|
## Install
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
- npm
|
|
64
64
|
|
|
65
65
|
```bash
|
|
66
66
|
npm install --save @yozora/tokenizer-footnote
|
|
67
67
|
```
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
- yarn
|
|
70
70
|
|
|
71
71
|
```bash
|
|
72
72
|
yarn add @yozora/tokenizer-footnote
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
## Usage
|
|
77
76
|
|
|
78
|
-
[@yozora/tokenizer-footnote][] has been integrated into [@yozora/parser][],
|
|
79
|
-
|
|
77
|
+
[@yozora/tokenizer-footnote][] has been integrated into [@yozora/parser][], so you can use
|
|
78
|
+
`YozoraParser` directly.
|
|
80
79
|
|
|
81
80
|
### Basic Usage
|
|
82
81
|
|
|
83
|
-
[@yozora/tokenizer-footnote][] cannot be used alone, it needs to be
|
|
84
|
-
|
|
82
|
+
[@yozora/tokenizer-footnote][] cannot be used alone, it needs to be registered in _YastParser_ as a
|
|
83
|
+
plugin-in before it can be used.
|
|
85
84
|
|
|
86
85
|
```typescript {4,9}
|
|
87
86
|
import { DefaultParser } from '@yozora/core-parser'
|
|
@@ -153,39 +152,35 @@ parser.parse(`
|
|
|
153
152
|
|
|
154
153
|
### Options
|
|
155
154
|
|
|
156
|
-
Name
|
|
157
|
-
|
|
158
|
-
`name`
|
|
159
|
-
`priority`
|
|
160
|
-
|
|
161
|
-
* `name`: The unique name of the tokenizer, used to bind the token it generates,
|
|
162
|
-
to determine the tokenizer that should be called in each life cycle of the
|
|
163
|
-
token in the entire *matching / parsing* phase.
|
|
155
|
+
| Name | Type | Required | Default |
|
|
156
|
+
| :--------: | :------: | :------: | :----------------------------: |
|
|
157
|
+
| `name` | `string` | `false` | `"@yozora/tokenizer-footnote"` |
|
|
158
|
+
| `priority` | `number` | `false` | `TokenizerPriority.LINKS` |
|
|
164
159
|
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
low-priority tokenizer.
|
|
169
|
-
|
|
170
|
-
**Exception:** Delimiters of type `full` are always processed before other type
|
|
171
|
-
delimiters.
|
|
160
|
+
- `name`: The unique name of the tokenizer, used to bind the token it generates, to determine the
|
|
161
|
+
tokenizer that should be called in each life cycle of the token in the entire _matching / parsing_
|
|
162
|
+
phase.
|
|
172
163
|
|
|
164
|
+
- `priority`: Priority of the tokenizer, determine the order of processing, high priority priority
|
|
165
|
+
execution. interruptable. In addition, in the `match-block` stage, a high-priority tokenizer can
|
|
166
|
+
interrupt the matching process of a low-priority tokenizer.
|
|
173
167
|
|
|
168
|
+
**Exception:** Delimiters of type `full` are always processed before other type delimiters.
|
|
174
169
|
|
|
175
170
|
<!-- :end -->
|
|
176
171
|
|
|
177
172
|
## Related
|
|
178
173
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
174
|
+
- [@yozora/ast][]
|
|
175
|
+
- [@yozora/parser][]
|
|
176
|
+
- [@yozora/parser-gfm][]
|
|
177
|
+
- [@yozora/parser-gfm-ex][]
|
|
178
|
+
- [@yozora/react-footnote-definitions][]
|
|
179
|
+
- [@yozora/react-footnote-reference][]
|
|
180
|
+
- [@yozora/react-markdown][]
|
|
181
|
+
- [Live Examples][live-examples]
|
|
182
|
+
- [Footnote | Yozora AST][node-type]
|
|
183
|
+
- [Documentation][docpage]
|
|
189
184
|
|
|
190
185
|
[node-type]: http://yozora.guanghechen.com/docs/package/ast#footnote
|
|
191
186
|
|
|
@@ -193,143 +188,189 @@ Name | Type | Required | Default
|
|
|
193
188
|
|
|
194
189
|
[live-examples]: https://yozora.guanghechen.com/docs/package/tokenizer-footnote#live-examples
|
|
195
190
|
[docpage]: https://yozora.guanghechen.com/docs/package/tokenizer-footnote
|
|
196
|
-
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.
|
|
191
|
+
[homepage]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
|
|
197
192
|
[gfm-spec]: https://github.github.com/gfm
|
|
198
193
|
[mdast-homepage]: https://github.com/syntax-tree/mdast
|
|
199
|
-
|
|
200
|
-
[@yozora/ast]:
|
|
201
|
-
[@yozora/
|
|
202
|
-
[@yozora/
|
|
203
|
-
|
|
204
|
-
[@yozora/core-parser]:
|
|
205
|
-
[@yozora/core-tokenizer]:
|
|
206
|
-
|
|
207
|
-
[@yozora/
|
|
208
|
-
[@yozora/
|
|
209
|
-
|
|
210
|
-
[@yozora/parser
|
|
211
|
-
[@yozora/
|
|
212
|
-
[@yozora/
|
|
213
|
-
|
|
214
|
-
[@yozora/tokenizer
|
|
215
|
-
|
|
216
|
-
[@yozora/tokenizer-
|
|
217
|
-
|
|
218
|
-
[@yozora/tokenizer-
|
|
219
|
-
|
|
220
|
-
[@yozora/tokenizer-
|
|
221
|
-
|
|
222
|
-
[@yozora/tokenizer-
|
|
223
|
-
|
|
224
|
-
[@yozora/tokenizer-
|
|
225
|
-
[@yozora/tokenizer-
|
|
226
|
-
|
|
227
|
-
[@yozora/tokenizer-
|
|
228
|
-
[@yozora/tokenizer-
|
|
229
|
-
|
|
230
|
-
[@yozora/tokenizer-
|
|
231
|
-
|
|
232
|
-
[@yozora/tokenizer-
|
|
233
|
-
|
|
234
|
-
[@yozora/tokenizer-
|
|
235
|
-
|
|
236
|
-
[@yozora/tokenizer-
|
|
237
|
-
|
|
238
|
-
[@yozora/tokenizer-
|
|
239
|
-
|
|
240
|
-
[@yozora/tokenizer-
|
|
241
|
-
|
|
242
|
-
[@yozora/tokenizer-
|
|
243
|
-
|
|
244
|
-
[@yozora/
|
|
245
|
-
|
|
246
|
-
[@yozora/
|
|
247
|
-
|
|
248
|
-
[@yozora/
|
|
249
|
-
[@yozora/
|
|
250
|
-
|
|
251
|
-
[@yozora/
|
|
252
|
-
|
|
253
|
-
[@yozora/
|
|
254
|
-
|
|
255
|
-
[@yozora/
|
|
256
|
-
|
|
257
|
-
[@yozora/
|
|
258
|
-
[@yozora/
|
|
259
|
-
|
|
260
|
-
[@yozora/
|
|
261
|
-
[@yozora/
|
|
262
|
-
[@yozora/
|
|
263
|
-
|
|
264
|
-
[@yozora/
|
|
265
|
-
|
|
266
|
-
[@yozora/
|
|
267
|
-
|
|
268
|
-
[
|
|
269
|
-
|
|
270
|
-
[
|
|
271
|
-
|
|
272
|
-
[
|
|
273
|
-
|
|
274
|
-
[
|
|
275
|
-
[
|
|
276
|
-
[
|
|
277
|
-
|
|
278
|
-
[
|
|
279
|
-
[
|
|
280
|
-
|
|
281
|
-
[
|
|
282
|
-
|
|
283
|
-
[
|
|
284
|
-
|
|
285
|
-
[
|
|
286
|
-
[
|
|
287
|
-
[
|
|
288
|
-
|
|
289
|
-
[
|
|
290
|
-
|
|
291
|
-
[
|
|
292
|
-
[
|
|
293
|
-
[
|
|
294
|
-
|
|
295
|
-
[
|
|
296
|
-
|
|
297
|
-
[
|
|
298
|
-
[
|
|
299
|
-
|
|
300
|
-
[
|
|
301
|
-
[
|
|
302
|
-
[
|
|
303
|
-
[
|
|
304
|
-
|
|
305
|
-
[
|
|
306
|
-
[
|
|
307
|
-
[
|
|
308
|
-
[
|
|
309
|
-
[
|
|
310
|
-
[
|
|
311
|
-
[gfm
|
|
312
|
-
[gfm-
|
|
313
|
-
[
|
|
314
|
-
[
|
|
315
|
-
[
|
|
316
|
-
|
|
317
|
-
[
|
|
318
|
-
[
|
|
319
|
-
[
|
|
320
|
-
[
|
|
321
|
-
[
|
|
322
|
-
|
|
323
|
-
[
|
|
324
|
-
[
|
|
325
|
-
[
|
|
326
|
-
|
|
327
|
-
[
|
|
328
|
-
[
|
|
329
|
-
|
|
330
|
-
[
|
|
331
|
-
|
|
332
|
-
[
|
|
333
|
-
|
|
194
|
+
[@yozora/ast]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast#readme
|
|
195
|
+
[@yozora/ast-util]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/ast-util#readme
|
|
196
|
+
[@yozora/character]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/character#readme
|
|
197
|
+
[@yozora/eslint-config]:
|
|
198
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/eslint-config#readme
|
|
199
|
+
[@yozora/core-parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-parser#readme
|
|
200
|
+
[@yozora/core-tokenizer]:
|
|
201
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/core-tokenizer#readme
|
|
202
|
+
[@yozora/invariant]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/invariant#readme
|
|
203
|
+
[@yozora/jest-for-tokenizer]:
|
|
204
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/jest-for-tokenizer#readme
|
|
205
|
+
[@yozora/parser]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser#readme
|
|
206
|
+
[@yozora/parser-gfm]: https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm#readme
|
|
207
|
+
[@yozora/parser-gfm-ex]:
|
|
208
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/packages/parser-gfm-ex#readme
|
|
209
|
+
[@yozora/template-tokenizer]:
|
|
210
|
+
https://github.com/yozorajs/yozora/tree/release-2.x.x/packages/template-tokenizer#readme
|
|
211
|
+
[@yozora/tokenizer-admonition]:
|
|
212
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/admonition#readme
|
|
213
|
+
[@yozora/tokenizer-autolink]:
|
|
214
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink#readme
|
|
215
|
+
[@yozora/tokenizer-autolink-extension]:
|
|
216
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/autolink-extension#readme
|
|
217
|
+
[@yozora/tokenizer-blockquote]:
|
|
218
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/blockquote#readme
|
|
219
|
+
[@yozora/tokenizer-break]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/break#readme
|
|
220
|
+
[@yozora/tokenizer-definition]:
|
|
221
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/definition#readme
|
|
222
|
+
[@yozora/tokenizer-delete]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/delete#readme
|
|
223
|
+
[@yozora/tokenizer-ecma-import]:
|
|
224
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/ecma-import#readme
|
|
225
|
+
[@yozora/tokenizer-emphasis]:
|
|
226
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/emphasis#readme
|
|
227
|
+
[@yozora/tokenizer-fenced-block]:
|
|
228
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-block#readme
|
|
229
|
+
[@yozora/tokenizer-fenced-code]:
|
|
230
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/fenced-code#readme
|
|
231
|
+
[@yozora/tokenizer-footnote]:
|
|
232
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote#readme
|
|
233
|
+
[@yozora/tokenizer-footnote-definition]:
|
|
234
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-definition#readme
|
|
235
|
+
[@yozora/tokenizer-footnote-reference]:
|
|
236
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/footnote-reference#readme
|
|
237
|
+
[@yozora/tokenizer-heading]:
|
|
238
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/heading#readme
|
|
239
|
+
[@yozora/tokenizer-html-block]:
|
|
240
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-block#readme
|
|
241
|
+
[@yozora/tokenizer-html-inline]:
|
|
242
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/html-inline#readme
|
|
243
|
+
[@yozora/tokenizer-image]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image#readme
|
|
244
|
+
[@yozora/tokenizer-image-reference]:
|
|
245
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/image-reference#readme
|
|
246
|
+
[@yozora/tokenizer-indented-code]:
|
|
247
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/indented-code#readme
|
|
248
|
+
[@yozora/tokenizer-inline-code]:
|
|
249
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-code#readme
|
|
250
|
+
[@yozora/tokenizer-inline-math]:
|
|
251
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/inline-math#readme
|
|
252
|
+
[@yozora/tokenizer-link]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link#readme
|
|
253
|
+
[@yozora/tokenizer-link-reference]:
|
|
254
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/link-reference#readme
|
|
255
|
+
[@yozora/tokenizer-list]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/list#readme
|
|
256
|
+
[@yozora/tokenizer-math]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/math#readme
|
|
257
|
+
[@yozora/tokenizer-paragraph]:
|
|
258
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/paragraph#readme
|
|
259
|
+
[@yozora/tokenizer-setext-heading]:
|
|
260
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/setext-heading#readme
|
|
261
|
+
[@yozora/tokenizer-table]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/table#readme
|
|
262
|
+
[@yozora/tokenizer-text]: https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/text#readme
|
|
263
|
+
[@yozora/tokenizer-thematic-break]:
|
|
264
|
+
https://github.com/yozorajs/yozora/tree/v2.3.1/tokenizers/thematic-break#readme
|
|
265
|
+
[@yozora/react-admonition]:
|
|
266
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/admonition#readme
|
|
267
|
+
[@yozora/react-blockquote]:
|
|
268
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/blockquote#readme
|
|
269
|
+
[@yozora/react-break]: https://github.com/yozorajs/yozora-react/tree/main/packages/break#readme
|
|
270
|
+
[@yozora/react-delete]: https://github.com/yozorajs/yozora-react/tree/main/packages/delete#readme
|
|
271
|
+
[@yozora/react-emphasis]:
|
|
272
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/emphasis#readme
|
|
273
|
+
[@yozora/react-code]: https://github.com/yozorajs/yozora-react/tree/main/packages/code#readme
|
|
274
|
+
[@yozora/react-code-live]:
|
|
275
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/code-live#readme
|
|
276
|
+
[@yozora/react-footnote-definitions]:
|
|
277
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-definitions#readme
|
|
278
|
+
[@yozora/react-footnote-reference]:
|
|
279
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/footnote-reference#readme
|
|
280
|
+
[@yozora/react-heading]: https://github.com/yozorajs/yozora-react/tree/main/packages/heading#readme
|
|
281
|
+
[@yozora/react-image]: https://github.com/yozorajs/yozora-react/tree/main/packages/image#readme
|
|
282
|
+
[@yozora/react-inline-code]:
|
|
283
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-code#readme
|
|
284
|
+
[@yozora/react-inline-math]:
|
|
285
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/inline-math#readme
|
|
286
|
+
[@yozora/react-link]: https://github.com/yozorajs/yozora-react/tree/main/packages/link#readme
|
|
287
|
+
[@yozora/react-list]: https://github.com/yozorajs/yozora-react/tree/main/packages/list#readme
|
|
288
|
+
[@yozora/react-list-item]:
|
|
289
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/list-item#readme
|
|
290
|
+
[@yozora/react-markdown]:
|
|
291
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/markdown#readme
|
|
292
|
+
[@yozora/react-math]: https://github.com/yozorajs/yozora-react/tree/main/packages/math#readme
|
|
293
|
+
[@yozora/react-paragraph]:
|
|
294
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/paragraph#readme
|
|
295
|
+
[@yozora/react-strong]: https://github.com/yozorajs/yozora-react/tree/main/packages/strong#readme
|
|
296
|
+
[@yozora/react-table]: https://github.com/yozorajs/yozora-react/tree/main/packages/table#readme
|
|
297
|
+
[@yozora/react-text]: https://github.com/yozorajs/yozora-react/tree/main/packages/text#readme
|
|
298
|
+
[@yozora/react-thematic-break]:
|
|
299
|
+
https://github.com/yozorajs/yozora-react/tree/main/packages/thematic-break#readme
|
|
300
|
+
[doc-live-examples/gfm]: https://yozora.guanghechen.com/docs/example/gfm
|
|
301
|
+
[doc-@yozora/ast]: https://yozora.guanghechen.com/docs/package/ast
|
|
302
|
+
[doc-@yozora/ast-util]: https://yozora.guanghechen.com/docs/package/ast-util
|
|
303
|
+
[doc-@yozora/core-parser]: https://yozora.guanghechen.com/docs/package/core-parser
|
|
304
|
+
[doc-@yozora/core-tokenizer]: https://yozora.guanghechen.com/docs/package/core-tokenizer
|
|
305
|
+
[doc-@yozora/parser]: https://yozora.guanghechen.com/docs/package/parser
|
|
306
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
307
|
+
[doc-@yozora/parser-gfm-ex]: https://yozora.guanghechen.com/docs/package/parser-gfm-ex
|
|
308
|
+
[doc-@yozora/tokenizer-admonition]: https://yozora.guanghechen.com/docs/package/tokenizer-admonition
|
|
309
|
+
[doc-@yozora/tokenizer-autolink]: https://yozora.guanghechen.com/docs/package/tokenizer-autolink
|
|
310
|
+
[doc-@yozora/tokenizer-autolink-extension]:
|
|
311
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-autolink-extension
|
|
312
|
+
[doc-@yozora/tokenizer-blockquote]: https://yozora.guanghechen.com/docs/package/tokenizer-blockquote
|
|
313
|
+
[doc-@yozora/tokenizer-break]: https://yozora.guanghechen.com/docs/package/tokenizer-break
|
|
314
|
+
[doc-@yozora/tokenizer-delete]: https://yozora.guanghechen.com/docs/package/tokenizer-delete
|
|
315
|
+
[doc-@yozora/tokenizer-emphasis]: https://yozora.guanghechen.com/docs/package/tokenizer-emphasis
|
|
316
|
+
[doc-@yozora/tokenizer-fenced-code]:
|
|
317
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-fenced-code
|
|
318
|
+
[doc-@yozora/tokenizer-heading]: https://yozora.guanghechen.com/docs/package/tokenizer-heading
|
|
319
|
+
[doc-@yozora/tokenizer-html-block]: https://yozora.guanghechen.com/docs/package/tokenizer-html-block
|
|
320
|
+
[doc-@yozora/tokenizer-html-inline]:
|
|
321
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-html-inline
|
|
322
|
+
[doc-@yozora/tokenizer-image]: https://yozora.guanghechen.com/docs/package/tokenizer-image
|
|
323
|
+
[doc-@yozora/tokenizer-image-reference]:
|
|
324
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-image-reference
|
|
325
|
+
[doc-@yozora/tokenizer-indented-code]:
|
|
326
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-indented-code
|
|
327
|
+
[doc-@yozora/tokenizer-inline-code]:
|
|
328
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-code
|
|
329
|
+
[doc-@yozora/tokenizer-inline-math]:
|
|
330
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-inline-math
|
|
331
|
+
[doc-@yozora/tokenizer-link]: https://yozora.guanghechen.com/docs/package/tokenizer-link
|
|
332
|
+
[doc-@yozora/tokenizer-definition]: https://yozora.guanghechen.com/docs/package/tokenizer-definition
|
|
333
|
+
[doc-@yozora/tokenizer-link-reference]:
|
|
334
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-link-reference
|
|
335
|
+
[doc-@yozora/tokenizer-list]: https://yozora.guanghechen.com/docs/package/tokenizer-list
|
|
336
|
+
[doc-@yozora/tokenizer-math]: https://yozora.guanghechen.com/docs/package/tokenizer-math
|
|
337
|
+
[doc-@yozora/tokenizer-paragraph]: https://yozora.guanghechen.com/docs/package/tokenizer-paragraph
|
|
338
|
+
[doc-@yozora/tokenizer-setext-heading]:
|
|
339
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-setext-heading
|
|
340
|
+
[doc-@yozora/tokenizer-table]: https://yozora.guanghechen.com/docs/package/tokenizer-table
|
|
341
|
+
[doc-@yozora/tokenizer-text]: https://yozora.guanghechen.com/docs/package/tokenizer-text
|
|
342
|
+
[doc-@yozora/tokenizer-thematic-break]:
|
|
343
|
+
https://yozora.guanghechen.com/docs/package/tokenizer-thematic-break
|
|
344
|
+
[doc-@yozora/jest-for-tokenizer]: https://yozora.guanghechen.com/docs/package/jest-for-tokenizer
|
|
345
|
+
[doc-@yozora/parser-gfm]: https://yozora.guanghechen.com/docs/package/parser-gfm
|
|
346
|
+
[gfm-atx-heading]: https://github.github.com/gfm/#atx-heading
|
|
347
|
+
[gfm-autolink]: https://github.github.com/gfm/#autolinks
|
|
348
|
+
[gfm-autolink-extension]: https://github.github.com/gfm/#autolinks-extension-
|
|
349
|
+
[gfm-blockquote]: https://github.github.com/gfm/#block-quotes
|
|
350
|
+
[gfm-bullet-list]: https://github.github.com/gfm/#bullet-list
|
|
351
|
+
[gfm-delete]: https://github.github.com/gfm/#strikethrough-extension-
|
|
352
|
+
[gfm-emphasis]: https://github.github.com/gfm/#can-open-emphasis
|
|
353
|
+
[gfm-fenced-code]: https://github.github.com/gfm/#fenced-code-block
|
|
354
|
+
[gfm-hard-line-break]: https://github.github.com/gfm/#hard-line-break
|
|
355
|
+
[gfm-html-block]: https://github.github.com/gfm/#html-block
|
|
356
|
+
[gfm-html-inline]: https://github.github.com/gfm/#raw-html
|
|
357
|
+
[gfm-image]: https://github.github.com/gfm/#images
|
|
358
|
+
[gfm-image-reference]: https://github.github.com/gfm/#example-590
|
|
359
|
+
[gfm-indented-code]: https://github.github.com/gfm/#indented-code-block
|
|
360
|
+
[gfm-inline-code]: https://github.github.com/gfm/#code-span
|
|
361
|
+
[gfm-link]: https://github.github.com/gfm/#inline-link
|
|
362
|
+
[gfm-definition]: https://github.github.com/gfm/#link-reference-definition
|
|
363
|
+
[gfm-link-reference]: https://github.github.com/gfm/#reference-link
|
|
364
|
+
[gfm-list]: https://github.github.com/gfm/#lists
|
|
365
|
+
[gfm-list-item]: https://github.github.com/gfm/#list-items
|
|
366
|
+
[gfm-list-task-item]: https://github.github.com/gfm/#task-list-items-extension-
|
|
367
|
+
[gfm-paragraph]: https://github.github.com/gfm/#paragraph
|
|
368
|
+
[gfm-setext-heading]: https://github.github.com/gfm/#setext-heading
|
|
369
|
+
[gfm-soft-line-break]: https://github.github.com/gfm/#soft-line-breaks
|
|
370
|
+
[gfm-strong]: https://github.github.com/gfm/#can-open-strong-emphasis
|
|
371
|
+
[gfm-tab]: https://github.github.com/gfm/#tabs
|
|
372
|
+
[gfm-table]: https://github.github.com/gfm/#table
|
|
373
|
+
[gfm-text]: https://github.github.com/gfm/#soft-line-breaks
|
|
374
|
+
[gfm-thematic-break]: https://github.github.com/gfm/#thematic-break
|
|
334
375
|
|
|
335
376
|
<!-- :end -->
|
package/lib/cjs/index.cjs
CHANGED
package/lib/esm/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yozora/tokenizer-footnote",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "guanghechen",
|
|
6
6
|
"url": "https://github.com/guanghechen/"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://github.com/yozorajs/yozora.git",
|
|
11
11
|
"directory": "tokenizers/footnote"
|
|
12
12
|
},
|
|
13
|
-
"homepage": "https://github.com/yozorajs/yozora/tree/v2.
|
|
13
|
+
"homepage": "https://github.com/yozorajs/yozora/tree/v2.3.0/tokenizers/footnote",
|
|
14
14
|
"type": "module",
|
|
15
15
|
"exports": {
|
|
16
16
|
"types": "./lib/types/index.d.ts",
|
|
@@ -33,16 +33,11 @@
|
|
|
33
33
|
"LICENSE",
|
|
34
34
|
"README.md"
|
|
35
35
|
],
|
|
36
|
-
"scripts": {
|
|
37
|
-
"build": "rimraf lib/ && cross-env NODE_ENV=production rollup -c ../../rollup.config.mjs",
|
|
38
|
-
"prepublishOnly": "cross-env ROLLUP_SHOULD_SOURCEMAP=false yarn build",
|
|
39
|
-
"test": "node --experimental-vm-modules ../../node_modules/.bin/jest --config ../../jest.config.mjs --rootDir ."
|
|
40
|
-
},
|
|
41
36
|
"dependencies": {
|
|
42
|
-
"@yozora/ast": "^2.3.
|
|
43
|
-
"@yozora/character": "^2.3.
|
|
44
|
-
"@yozora/core-tokenizer": "^2.3.
|
|
45
|
-
"@yozora/tokenizer-link": "^2.3.
|
|
37
|
+
"@yozora/ast": "^2.3.1",
|
|
38
|
+
"@yozora/character": "^2.3.1",
|
|
39
|
+
"@yozora/core-tokenizer": "^2.3.1",
|
|
40
|
+
"@yozora/tokenizer-link": "^2.3.1"
|
|
46
41
|
},
|
|
47
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "eaea7c3649e7e7886a1c3a85125b8c6268fdab20"
|
|
48
43
|
}
|