@@ -147,6 +147,13 @@ const callout = {
150+const customFence = {
151+ render: "CustomFence",
155+const CustomFence = ({ children }) => <pre>{children}</pre>;
150export default function Markdown({ post }) {
157export default function Markdown({ post }) {
151 const ast = Markdoc.parse(post.content);
158 const ast = Markdoc.parse(post.content);
152 const finalAst = footnoteParse(ast);
159 const finalAst = footnoteParse(ast);
@@ -162,6 +169,7 @@ export default function Markdown({ post }) {
167 return Markdoc.renderers.react(content, React, {
175 return Markdoc.renderers.react(content, React, {
@@ -171,6 +179,7 @@ export default function Markdown({ post }) {