@@ -4,6 +4,7 @@ import { heading } from "./schema/Heading.markdoc";
4import { footnoteRef } from "./schema/footnoteRef.markdoc";
4import { footnoteRef } from "./schema/footnoteRef.markdoc";
5import { footnoteItem } from "./schema/footnoteItem.markdoc";
5import { footnoteItem } from "./schema/footnoteItem.markdoc";
6import { link } from "./schema/link.markdoc";
6import { link } from "./schema/link.markdoc";
7+import { image } from "./schema/image.markdoc";
7import Tabs from "../components/Tabs";
8import Tabs from "../components/Tabs";
8import Tab from "../components/Tab";
9import Tab from "../components/Tab";
9import Button from "../components/Button";
10import Button from "../components/Button";
@@ -13,26 +14,6 @@ import Prism from "prism-react-renderer/prism";
13(typeof global !== "undefined" ? global : window).Prism = Prism;
14(typeof global !== "undefined" ? global : window).Prism = Prism;
14require("prismjs/components/prism-hoon");
15require("prismjs/components/prism-hoon");
16−// img is wrapped in figure so that images can be extra wide in the blog posts
17−// function img(h, node) {
18−// var props = { src: normalize(node.url), alt: node.alt };
19−// if (node.title !== null && node.title !== undefined) {
20−// props.title = node.title;
36export function Fence({ children, language }) {
17export function Fence({ children, language }) {
38 <Highlight
19 <Highlight
@@ -128,6 +109,7 @@ export default function Markdown({ post }) {
132 footnoteItem,
114 footnoteItem,
133 footnoteRef,
115 footnoteRef,