Style tweaks
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 16s

This commit is contained in:
thepaperpilot 2024-06-05 22:56:50 -05:00
parent f2cfe82cc7
commit 9c377db56f
2 changed files with 4 additions and 0 deletions

View file

@ -103,6 +103,9 @@ function toSlug(string) {
/\(\((.*)\)\)/g,
(_, id) => blockRefs[id]);
// Remove id:: lines
data = data.replaceAll(
/(#+) (.*)\n\s*id:: (.*)/gm,
(_, h, title, id) => `<span id="${id}"><h${h.length}>${title}</h${h.length}></span>`);
data = data.replaceAll(
/(.*)\n\s*id:: (.*)/gm,
'<span id="$2">$1</span>');

View file

@ -1,6 +1,7 @@
---
title: The Paper Pilot
layout: home
sidebar: true
hero:
name: The Paper Pilot
tagline: I'm Anthony, or The Paper Pilot, and I make fun games and tools!