Skip to content

Commit 160c337

Browse files
authored
fix line spacing + autolinks (#14)
Signed-off-by: Andrew Duffy <andrew@a10y.dev>
1 parent b92b18a commit 160c337

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ async function build(liveReload: boolean = false): Promise<number> {
372372

373373
const path = `./proposals/${filename}`;
374374
const content = await Bun.file(path).text();
375-
const html = Bun.markdown.html(content);
375+
const html = Bun.markdown.html(content, { autolinks: true });
376376
const number = parseRFCNumber(filename);
377377
const title = parseTitle(content, filename);
378378
const git = await getGitHistory(path, repoPath);

styles.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ pre {
226226
overflow-x: auto;
227227
margin-bottom: 1rem;
228228
font-size: 0.875rem;
229+
line-height: 1;
229230
}
230231

231232
pre code {

0 commit comments

Comments
 (0)