We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e745c1 commit e673916Copy full SHA for e673916
website/components/mdx-components.tsx
@@ -28,7 +28,7 @@ const SnippetItem = ({
28
id: string
29
}) => {
30
const content = useMDX(body.code)
31
- const textContent = body.raw.split("\n").slice(1, -2).join("\n")
+ const textContent = body.raw.split("\n").slice(1, -1).join("\n")
32
return (
33
<div className="prose" id="snippet" data-framework={id}>
34
{content}
0 commit comments