fix: static footnote display

This commit is contained in:
Cory Dransfeldt 2024-06-29 15:23:07 -07:00
parent 653035c7c8
commit e1520d2cd2
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -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
View file

@ -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",

View file

@ -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": {