fix: static footnote display
This commit is contained in:
parent
653035c7c8
commit
e1520d2cd2
3 changed files with 4 additions and 4 deletions
|
@ -99,7 +99,7 @@ export default {
|
||||||
)
|
)
|
||||||
md.renderer.rules.footnote_open = (tokens, idx) => {
|
md.renderer.rules.footnote_open = (tokens, idx) => {
|
||||||
const id = tokens[idx].meta.id + 1
|
const id = tokens[idx].meta.id + 1
|
||||||
return `<li id="fn${id}" class="footnote-item">${id}. `
|
return `<li id="fn${id}" class="footnote-item"> `
|
||||||
}
|
}
|
||||||
md.renderer.rules.footnote_anchor = () => ''
|
md.renderer.rules.footnote_anchor = () => ''
|
||||||
|
|
||||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.0",
|
"version": "19.7.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.0",
|
"version": "19.7.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@cdransf/api-text": "^1.4.0",
|
"@cdransf/api-text": "^1.4.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "coryd.dev",
|
"name": "coryd.dev",
|
||||||
"version": "19.7.0",
|
"version": "19.7.1",
|
||||||
"description": "The source for my personal site. Built using 11ty.",
|
"description": "The source for my personal site. Built using 11ty.",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Reference in a new issue