Skip to content

Commit

Permalink
Update to algorithmLine
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Oct 22, 2023
1 parent c161f6f commit 401555f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/myst-to-react/src/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type BasicNodeRenderers = {
emphasis: NodeRenderer<spec.Emphasis>;
link: NodeRenderer<spec.Link>;
paragraph: NodeRenderer<spec.Paragraph>;
line: NodeRenderer<GenericNode>;
algorithmLine: NodeRenderer<GenericNode>;
break: NodeRenderer<spec.Break>;
inlineMath: NodeRenderer<spec.InlineMath>;
math: NodeRenderer<spec.Math>;
Expand Down Expand Up @@ -131,7 +131,7 @@ const BASIC_RENDERERS: BasicNodeRenderers = {
</p>
);
},
line({ node }) {
algorithmLine({ node }) {
// Used in algorithms
const style = {
paddingLeft: `${(node.indent ?? 0) + 2}rem`,
Expand Down

0 comments on commit 401555f

Please sign in to comment.