diff --git a/src/renderer/src/lib/parse-html.ts b/src/renderer/src/lib/parse-html.ts index 7214fd9703..a5bd954293 100644 --- a/src/renderer/src/lib/parse-html.ts +++ b/src/renderer/src/lib/parse-html.ts @@ -127,6 +127,17 @@ export const parseHtml = async ( language: language.toLowerCase(), }) }, + table: ({ node, ...props }) => createElement( + "div", + { + className: "w-full overflow-x-auto", + }, + + createElement("table", { + ...props, + className: tw`w-full my-0`, + }), + ), }, }), }