Skip to content

Commit c7dfec1

Browse files
agoose77fwkoch
authored andcommitted
fix: outputs for JATS
1 parent c0e934f commit c7dfec1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/myst-to-jats/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -285,6 +285,7 @@ type Handlers = {
285285
si: Handler<GenericNode>;
286286
proof: Handler<GenericNode>;
287287
algorithmLine: Handler<AlgorithmLine>;
288+
outputs: Handler<GenericNode>;
288289
output: Handler<GenericNode>;
289290
embed: Handler<GenericNode>;
290291
supplementaryMaterial: Handler<SupplementaryMaterial>;
@@ -632,6 +633,9 @@ const handlers: Handlers = {
632633
state.renderChildren(node);
633634
state.closeNode();
634635
},
636+
outputs(node, state) {
637+
state.renderChildren(node);
638+
},
635639
output(node, state) {
636640
if (state.data.isInContainer) {
637641
if (!node.data?.[0]) return;

0 commit comments

Comments
 (0)