Skip to content

Commit

Permalink
Merge branch 'main' into feat/srcbookdev#218-Add-AI-generation-to-mar…
Browse files Browse the repository at this point in the history
…kdown-cells
  • Loading branch information
Aswanth-c committed Sep 16, 2024
2 parents ec44ee6 + f16905b commit 77e733d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/web/src/components/cells/markdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,10 @@ export default function MarkdownCell(props: {
)}

{status === 'view' ? (
<div className="sb-prose px-3 pt-10 group-hover/cell:pt-0">
<Markdown>{cell.text}</Markdown>
<div>
<div className="sb-prose px-3 pt-10 group-hover/cell:pt-0">
<Markdown renderer={markdownRenderer}>{cell.text}</Markdown>
</div>
</div>
) : (
<>
Expand Down

0 comments on commit 77e733d

Please sign in to comment.