diff --git a/app/components/syntax/PrevNextLinks.tsx b/app/components/syntax/PrevNextLinks.tsx index 68ed673..df886aa 100644 --- a/app/components/syntax/PrevNextLinks.tsx +++ b/app/components/syntax/PrevNextLinks.tsx @@ -80,7 +80,7 @@ export function PrevNextLinks() { if (!nextPage && !previousPage) return null; return ( -
+
{previousPage && } {nextPage && }
diff --git a/app/markdoc/nodes.tsx b/app/markdoc/nodes.tsx index 4796dde..6287a2b 100644 --- a/app/markdoc/nodes.tsx +++ b/app/markdoc/nodes.tsx @@ -51,6 +51,16 @@ const nodes = { }, }, }, + table: { + ...defaultNodes.table, + attributes: { + ...defaultNodes.table.attributes, + class: { + type: String, + default: "block max-w-full overflow-x-auto border-collapse text-sm", + }, + }, + }, th: { ...defaultNodes.th, attributes: {