Skip to content

Commit

Permalink
🎇 PDF in typst is not supported (#845)
Browse files Browse the repository at this point in the history
Switches to SVG.
  • Loading branch information
rowanc1 authored Jan 11, 2024
1 parent 860c297 commit 4582377
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/plenty-otters-allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'myst-cli': patch
---

Supprt SVG not PDF in typst.
2 changes: 1 addition & 1 deletion packages/myst-cli/src/build/typst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import { resolveAndLogErrors } from './utils/resolveAndLogErrors.js';

export const DEFAULT_BIB_FILENAME = 'main.bib';
const TYPST_IMAGE_EXTENSIONS = [
ImageExtensions.pdf,
ImageExtensions.svg,
ImageExtensions.png,
ImageExtensions.jpg,
ImageExtensions.jpeg,
Expand Down

0 comments on commit 4582377

Please sign in to comment.