restore image captions in markdown with a "clever" (messy) css hack

This commit is contained in:
2025-03-20 12:00:04 -04:00
parent 3388da2d50
commit b626955731
34 changed files with 413 additions and 455 deletions
+1 -3
View File
@@ -7,7 +7,6 @@ import Blockquote from "./components/Blockquote";
import HorizontalRule from "./components/HorizontalRule";
import * as Heading from "./components/Heading";
import * as List from "./components/List";
import Figure from "./components/Figure";
import Video from "./components/Video";
import Tweet from "./components/Tweet";
import YouTube from "./components/YouTube";
@@ -34,8 +33,7 @@ export const useMDXComponents = (components: MDXComponents): MDXComponents => {
ol: List.OrderedList,
li: List.ListItem,
// html components with custom props:
Figure,
// html components with a slight twist:
Video,
// third-party embeds: