diff --git a/src/_config/markdown-it.js b/src/_config/markdown-it.js index 7c859490..cc7c7c96 100644 --- a/src/_config/markdown-it.js +++ b/src/_config/markdown-it.js @@ -80,11 +80,18 @@ export default function(eleventyConfig) { if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`; /* ↩ with escape code to prevent display as Apple Emoji on iOS */ - return ` \u21a9\uFE0E`; + return ` +

+ + + Back to reference ${id} + +

+ `; }; const renderRules = { - footnote_caption: ['[', '[Footnote #'], + footnote_caption: ['[', '[Note '], footnote_block_close: ['section', 'footer'], }; Object.keys(renderRules).map(rule => { diff --git a/src/assets/css/plugins.css b/src/assets/css/plugins.css index 6c80b835..868726ca 100644 --- a/src/assets/css/plugins.css +++ b/src/assets/css/plugins.css @@ -39,10 +39,12 @@ .footnotes-list { display: grid; - gap: 0.3em; + gap: 1em; } .footnotes-list :target { background-color: var(--clr-quote-bg); outline: 0.1em dashed var(--clr-title-border); + outline-offset: 0.1em; } +*:not([class]) + .footnote-item__back { margin-top: 0.5em; } \ No newline at end of file