@@ -147,6 +147,13 @@ const callout = {
147147 },
148148};
149149
150+const customFence = {
151+ render: "CustomFence",
152+ attributes: {},
153+};
154+
155+const CustomFence = ({ children }) => <pre>{children}</pre>;
156+
150157export default function Markdown({ post }) {
151158 const ast = Markdoc.parse(post.content);
152159 const finalAst = footnoteParse(ast);
@@ -162,6 +169,7 @@ export default function Markdown({ post }) {
162169 tab,
163170 button,
164171 callout,
172+ customFence,
165173 },
166174 });
167175 return Markdoc.renderers.react(content, React, {
@@ -171,6 +179,7 @@ export default function Markdown({ post }) {
171179 Tab,
172180 Button,
173181 Callout,
182+ CustomFence,
174183 },
175184 });
176185}