diff --git a/quartz/components/pages/Content.tsx b/quartz/components/pages/Content.tsx index 76cecc38..2e6416f6 100644 --- a/quartz/components/pages/Content.tsx +++ b/quartz/components/pages/Content.tsx @@ -3,7 +3,9 @@ import { QuartzComponentConstructor, QuartzComponentProps } from "../types" function Content({ fileData, tree }: QuartzComponentProps) { const content = htmlToJsx(fileData.filePath!, tree) - return
{content}
+ const classes: string[] = fileData.frontmatter?.cssclasses ?? [] + const classString = ["popover-hint", ...classes].join(" ") + return
{content}
} export default (() => Content) satisfies QuartzComponentConstructor