From 3a2b7360e3ce7e33104c9eac2f748ada11c02fe4 Mon Sep 17 00:00:00 2001 From: Andrew Duffy Date: Mon, 23 Feb 2026 15:41:44 -0500 Subject: [PATCH] fix line spacing + autolinks Signed-off-by: Andrew Duffy --- index.ts | 2 +- styles.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 2b86537..0b1f5a9 100644 --- a/index.ts +++ b/index.ts @@ -372,7 +372,7 @@ async function build(liveReload: boolean = false): Promise { const path = `./proposals/${filename}`; const content = await Bun.file(path).text(); - const html = Bun.markdown.html(content); + const html = Bun.markdown.html(content, { autolinks: true }); const number = parseRFCNumber(filename); const title = parseTitle(content, filename); const git = await getGitHistory(path, repoPath); diff --git a/styles.css b/styles.css index d95ca22..d74bf70 100644 --- a/styles.css +++ b/styles.css @@ -226,6 +226,7 @@ pre { overflow-x: auto; margin-bottom: 1rem; font-size: 0.875rem; + line-height: 1; } pre code {