Skip to content

Commit

Permalink
Update packages/myst-to-react/src/autodoc.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Rowan Cockett <[email protected]>
  • Loading branch information
agoose77 and rowanc1 authored Jul 30, 2024
1 parent 78db093 commit e233f0e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/myst-to-react/src/autodoc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,7 @@ type HasChildren = {
const preParentRenderer = ({ node }: { node: HasTextChildren }) => {
const [child] = node.children;
return (
<span
style={{
whiteSpace: 'pre',
}}
>
<span className="whitespace-pre">
{child.value}
</span>
);
Expand Down

0 comments on commit e233f0e

Please sign in to comment.