We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9c7445 commit 8607772Copy full SHA for 8607772
packages/myst-cli/src/transforms/outputs.ts
@@ -83,6 +83,9 @@ export function liftOutputs(
83
const cache = castSession(session);
84
selectAll('output', mdast).forEach((output) => {
85
let children: GenericNode[] | undefined;
86
+ // Walk over the outputs, and take the first matching "high-priority" output type
87
+ // Given that the `IOutput.data` mapping is not ordered, the precedence between sibling
88
+ // MIME type keys (e.g. LaTeX vs Markdown) is not defined for now.
89
walkOutputs([(output as any).jupyter_data], (obj: any) => {
90
if (children) {
91
return;
0 commit comments