diff --git a/quartz/plugins/transformers/ofm.ts b/quartz/plugins/transformers/ofm.ts index dd2eaee31..a406c865f 100644 --- a/quartz/plugins/transformers/ofm.ts +++ b/quartz/plugins/transformers/ofm.ts @@ -263,7 +263,7 @@ export const ObsidianFlavoredMarkdown: QuartzTransformerPlugin } else if ([".pdf"].includes(ext)) { return { type: "html", - value: ``, + value: ``, } } else { const block = anchor diff --git a/quartz/styles/base.scss b/quartz/styles/base.scss index 79b05cd5e..3b3ead7c3 100644 --- a/quartz/styles/base.scss +++ b/quartz/styles/base.scss @@ -542,7 +542,8 @@ ol.overflow { overflow-y: hidden; } -.external-embed.youtube { +.external-embed.youtube, +iframe.pdf { aspect-ratio: 16 / 9; height: 100%; width: 100%;