From bfdaac8095cc4fd479eb7fb738283956048fce28 Mon Sep 17 00:00:00 2001 From: Joseph Montanaro Date: Mon, 30 Mar 2026 20:36:23 -0400 Subject: [PATCH] minor cleanups --- src/pages/posts.astro | 1 + src/plugins.ts | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/posts.astro b/src/pages/posts.astro index 3faafa4..0ce8b21 100644 --- a/src/pages/posts.astro +++ b/src/pages/posts.astro @@ -52,6 +52,7 @@ const posts = await Promise.all(entries.map(async entry => { ul { list-style: none; + margin-left: 0; } hr { diff --git a/src/plugins.ts b/src/plugins.ts index 14c316c..c8cb282 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -2,15 +2,10 @@ import type { Root, Paragraph, PhrasingContent } from 'mdast'; import type { VFile } from 'vfile'; import { visit } from 'unist-util-visit'; import { toString } from 'mdast-util-to-string'; -import { writeFileSync } from 'node:fs'; export function remarkDescription() { return (tree: Root, vfile: VFile) => { - if (vfile.basename == 'advent-of-languages-2024-04.mdx') { - writeFileSync('tree.json', JSON.stringify(tree, undefined, 4)); - } - let description: string | null = null; visit(tree, 'paragraph', (node: Paragraph) => {