mirror of
https://github.com/actix/actix-website
synced 2025-06-30 00:34:58 +02:00
docs: enable shell-session syntax
This commit is contained in:
11
src/components/shell_block.jsx
Normal file
11
src/components/shell_block.jsx
Normal file
@ -0,0 +1,11 @@
|
||||
import RenderCodeBlock from "@theme/CodeBlock";
|
||||
|
||||
const ShellBlock = ({ children }) => {
|
||||
return (
|
||||
<RenderCodeBlock className={`language-console`}>
|
||||
{children}
|
||||
</RenderCodeBlock>
|
||||
);
|
||||
};
|
||||
|
||||
export default ShellBlock;
|
Reference in New Issue
Block a user