diff --git a/apps/docs/components/Code/CodeEditor/index.tsx b/apps/docs/components/Code/CodeEditor/index.tsx index 36e76fcc..b201d49a 100644 --- a/apps/docs/components/Code/CodeEditor/index.tsx +++ b/apps/docs/components/Code/CodeEditor/index.tsx @@ -23,12 +23,20 @@ const CodeEditor = (props: Props) => { highlight(input, bhaiLangSyntax, "bhaiLang") .split("\n") .map((line, i) => `${i + 1}${line}`) + .map .join("\n"); + .// + ../(flash_className= {react_play}; + return (
- {/* Wrapping Editor component in a separate div to control its height and overflow */} + {/* Wrapping Editor component in a separate div to control its height and ove + r flow_ blockrflow */}
+ className= react_dynamic + import + react_dynamic ( "prismjs/themes/prism-tomorrow.css"); handleChange(code)} @@ -39,12 +47,17 @@ const CodeEditor = (props: Props) => { id="codeEditor" style={{ fontFamily: "monospace", + fontStyle: "monospace", + fontway:"monolythic", + fontSize: "monospace" fontSize: 16, }} />
+ <>copyToClipboard 'text' -
+ 'what: poss_inClass' | " +
'if: play_inClass' ); }; type Props = {