From 6785926d50e5dec841947b59515a0acec6e71723 Mon Sep 17 00:00:00 2001 From: Kian Date: Wed, 9 Apr 2025 14:11:39 +0100 Subject: [PATCH] [Docs Site] Turn off table alignment in index.md, fix glossary button (#21546) * [Docs Site] Turn off table alignment in index.md, fix glossary button * unused import --- src/components/Glossary.astro | 12 ++++++++---- worker/index.ts | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/components/Glossary.astro b/src/components/Glossary.astro index 1a2aaff4ec..9833093c2e 100644 --- a/src/components/Glossary.astro +++ b/src/components/Glossary.astro @@ -1,7 +1,6 @@ --- import { marked } from "marked"; import { getGlossaryEntries } from "~/util/glossary"; -import { LinkButton } from "@astrojs/starlight/components"; interface Props { product?: string; @@ -44,9 +43,14 @@ const INITIAL_VISIBLE_ROWS = 20; { terms.length > INITIAL_VISIBLE_ROWS && ( - - View more terms - +
+ +
) } diff --git a/worker/index.ts b/worker/index.ts index 93689f223e..ac95bb4a22 100644 --- a/worker/index.ts +++ b/worker/index.ts @@ -46,7 +46,7 @@ export default class extends WorkerEntrypoint { rehypeParse, rehypeBaseUrl, rehypeFilterElements, - remarkGfm, + [remarkGfm, { tablePipeAlign: false }], rehypeRemark, remarkStringify, ]);