From 1cbc57ba89dfb5b40668f69b7b40e503772dc8ae Mon Sep 17 00:00:00 2001 From: Isaac Mills Date: Fri, 11 Jul 2025 09:52:42 -0600 Subject: [PATCH] Add footnotes to pages --- .posthtmlrc | 9 +++++++- package.json | 1 + pnpm-lock.yaml | 8 +++++++ src/components/head.html | 3 --- src/components/tab-content.html | 7 ++++++ src/partials/interests.html | 2 +- src/partials/projects.html | 38 +++++++++++++++++++++++---------- src/style.css | 17 +++++++++++++++ 8 files changed, 69 insertions(+), 16 deletions(-) diff --git a/.posthtmlrc b/.posthtmlrc index cb99e2e..9ed0fbf 100644 --- a/.posthtmlrc +++ b/.posthtmlrc @@ -4,6 +4,13 @@ "posthtml-component": { "root": "./src/components" }, - "posthtml-markdownit": {} + "posthtml-markdownit": { + plugins: [ + { + "plugin": "markdown-it-sup", + "options": {} + } + ] + } } } diff --git a/package.json b/package.json index 03edfd3..a5b7a9d 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@parcel/compressor-brotli": "^2.15.4", "@parcel/compressor-gzip": "^2.15.4", "@parcel/config-default": "^2.15.4", + "markdown-it-sup": "^2.0.0", "parcel": "^2.15.4", "posthtml": "^0.16.6", "posthtml-component": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0db2d4b..009cfba 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,6 +24,9 @@ importers: '@parcel/config-default': specifier: ^2.15.4 version: 2.15.4(@parcel/core@2.15.4(@swc/helpers@0.5.17))(@swc/helpers@0.5.17) + markdown-it-sup: + specifier: ^2.0.0 + version: 2.0.0 parcel: specifier: ^2.15.4 version: 2.15.4(@swc/helpers@0.5.17) @@ -801,6 +804,9 @@ packages: lodash@4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + markdown-it-sup@2.0.0: + resolution: {integrity: sha512-5VgmdKlkBd8sgXuoDoxMpiU+BiEt3I49GItBzzw7Mxq9CxvnhE/k09HFli09zgfFDRixDQDfDxi0mgBCXtaTvA==} + markdown-it@14.1.0: resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==} hasBin: true @@ -1938,6 +1944,8 @@ snapshots: lodash@4.17.21: {} + markdown-it-sup@2.0.0: {} + markdown-it@14.1.0: dependencies: argparse: 2.0.1 diff --git a/src/components/head.html b/src/components/head.html index 83d7bba..8c1a002 100644 --- a/src/components/head.html +++ b/src/components/head.html @@ -133,9 +133,6 @@ -
-

Copyright, The SANDWICH™ 2025 ©®☺ⓖⓨⓐⓣⓣ

-