mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-09 18:53:38 +02:00
Switch to BiomeJS (#306)
This commit is contained in:
@@ -89,7 +89,7 @@ const markdownComponents: Partial<Components> = {
|
||||
},
|
||||
code(props) {
|
||||
const { children, className, ref, ...extraProps } = props;
|
||||
delete extraProps.node;
|
||||
extraProps.node = undefined;
|
||||
|
||||
const match = /language-(\w+)/.exec(className || '');
|
||||
return match ? (
|
||||
|
||||
Reference in New Issue
Block a user