Commit 65d7c80
docs: clarify extension terminology ambiguity (#3881)
docs: clarify 'extension' terminology ambiguity
Add a terminology note section to explain the difference between:
- MarkedExtension: the configuration object passed to marked.use()
- TokenizerAndRendererExtension: custom syntax definitions in the extensions array
This addresses the confusion described in #3182 where 'extensions' is used
with two different meanings throughout the documentation.
Fixes #3182
Co-authored-by: njg7194 <njg7194@github.com>1 parent 6b58506 commit 65d7c80
1 file changed
+25
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
5 | 30 | | |
6 | 31 | | |
7 | 32 | | |
| |||
0 commit comments