From 401555f0ee670fa57c3e700691c994975340ed1e Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Sun, 22 Oct 2023 11:25:45 -0600 Subject: [PATCH] Update to algorithmLine --- packages/myst-to-react/src/basic.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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`,