Skip to content

Commit

Permalink
chore: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 committed Aug 19, 2024
1 parent 3882c7a commit ba0dc40
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .changeset/silver-carrots-allow.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
"myst-transforms": minor
"myst-common": patch
"myst-cli": patch
'myst-transforms': minor
'myst-common': patch
'myst-cli': patch
---

Add new mermaid-conversion transform
4 changes: 2 additions & 2 deletions packages/myst-cli/src/build/tex/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export async function localArticleToTexRaw(
imageAltOutputFolder: 'files/',
imageExtensions: TEX_IMAGE_EXTENSIONS,
simplifyFigures: true,
mermaidAsImage: true,
mermaidAsImage: true,
});
return mdastToTex(session, mdast, references, frontmatter, null, false);
}),
Expand Down Expand Up @@ -253,7 +253,7 @@ export async function localArticleToTexTemplated(
imageAltOutputFolder: 'files/',
imageExtensions: TEX_IMAGE_EXTENSIONS,
simplifyFigures: true,
mermaidAsImage: true,
mermaidAsImage: true,
});

partDefinitions.forEach((def) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/myst-cli/src/process/mdast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export async function finalizeMdast(
});
if (!useExistingImages) {
if (mermaidAsImage) {
await mermaidToImageTransform(session, mdast, imageWriteFolder, vfile);
await mermaidToImageTransform(session, mdast, imageWriteFolder, vfile);
}
await transformImagesToDisk(session, mdast, file, imageWriteFolder, {
altOutputFolder: imageAltOutputFolder,
Expand Down

0 comments on commit ba0dc40

Please sign in to comment.