Skip to content

Commit bf2493b

Browse files
stevejpurvesfwkoch
authored andcommitted
🪪 adding id to outputs enables in-browser compute for figures and embeds
1 parent 004bcd6 commit bf2493b

File tree

1 file changed

+1
-0
lines changed
  • packages/myst-directives/src

1 file changed

+1
-0
lines changed

packages/myst-directives/src/code.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,7 @@ export const codeCellDirective: DirectiveSpec = {
254254
};
255255
const outputs = {
256256
type: 'outputs',
257+
id: nanoid(),
257258
children: [],
258259
};
259260
const block: GenericNode = {

0 commit comments

Comments
 (0)