You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ Instead of grabbing footnote bodies with a single regex and patching the output
16
16
npm install marked-github-footnote
17
17
```
18
18
19
+
Requires `marked` >= 12.
20
+
19
21
## Usage
20
22
21
23
```javascript
@@ -104,8 +106,6 @@ You get this HTML:
104
106
|`heading`|`"Footnotes"`| Text of the visually hidden footnotes section heading. |
105
107
|`backRefLabel`|`"Back to reference {0}{1}"`| aria-label template for back-reference links. `{0}` is the reference number, `{1}` is the suffix (e.g. `"-2"`). Supports i18n. |
106
108
107
-
Requires `marked` >= 12.
108
-
109
109
## Why this instead of `marked-footnote`?
110
110
111
111
[marked-footnote](https://github.com/markedjs/marked-footnote) is the official marked extension for footnotes. `marked-github-footnote` differs in several important ways:
0 commit comments