From 4c3efd82ea66eb2f6ba6b6b4b4e7407414371fb5 Mon Sep 17 00:00:00 2001 From: David Boyne Date: Thu, 19 Dec 2024 10:47:47 +0000 Subject: [PATCH 1/2] feat(core) enabled remark-gfm enabling tables in markdown --- eventcatalog/astro.config.mjs | 2 +- .../src/components/MDX/NodeGraph/NodeGraph.tsx | 2 +- .../Orders/services/InventoryService/index.md | 12 ++++++++++++ .../Orders/services/NotificationService/index.md | 14 ++++++++++++++ .../domains/Orders/services/OrdersService/index.md | 9 +++++++++ .../Payment/services/PaymentService/index.md | 8 ++++++++ .../services/SubscriptionService/index.md | 9 +++++++++ 7 files changed, 54 insertions(+), 2 deletions(-) diff --git a/eventcatalog/astro.config.mjs b/eventcatalog/astro.config.mjs index 2b05bcf3..4533feb3 100644 --- a/eventcatalog/astro.config.mjs +++ b/eventcatalog/astro.config.mjs @@ -47,7 +47,7 @@ export default defineConfig({ // https://docs.astro.build/en/guides/integrations-guide/mdx/#optimize optimize: config.mdxOptimize || false, remarkPlugins: [remarkDirective, remarkDirectives, remarkComment, mermaid], - gfm: false, + gfm: true, }), pagefind(), ], diff --git a/eventcatalog/src/components/MDX/NodeGraph/NodeGraph.tsx b/eventcatalog/src/components/MDX/NodeGraph/NodeGraph.tsx index 265901d6..91e9090d 100644 --- a/eventcatalog/src/components/MDX/NodeGraph/NodeGraph.tsx +++ b/eventcatalog/src/components/MDX/NodeGraph/NodeGraph.tsx @@ -422,7 +422,7 @@ const NodeGraph = ({