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: {