Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/components/codeBlock/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ export function CodeBlock({filename, language, children, externalLink}: CodeBloc

// Mermaid blocks should not be processed by CodeBlock - they need special client-side rendering
if (language === 'mermaid') {
return <div className="language-mermaid">{children}</div>;
return (
<div className="language-mermaid notranslate" translate="no">
{children}
</div>
);
}

async function copyCodeOnClick() {
Expand Down
Loading