diff --git a/packages/myst-to-react/src/basic.tsx b/packages/myst-to-react/src/basic.tsx index 233d5131b..01d6e7d01 100644 --- a/packages/myst-to-react/src/basic.tsx +++ b/packages/myst-to-react/src/basic.tsx @@ -47,7 +47,7 @@ type BasicNodeRenderers = { emphasis: NodeRenderer; link: NodeRenderer; paragraph: NodeRenderer; - line: NodeRenderer; + algorithmLine: NodeRenderer; break: NodeRenderer; inlineMath: NodeRenderer; math: NodeRenderer; @@ -131,7 +131,7 @@ const BASIC_RENDERERS: BasicNodeRenderers = {

); }, - line({ node }) { + algorithmLine({ node }) { // Used in algorithms const style = { paddingLeft: `${(node.indent ?? 0) + 2}rem`,