remark-enhance-codeblock
enhance markdown codeblock. WIP not published yet.
Installation
pnpm add -D remark-enhance-codeblock # or via npm, yarn, ...
Usage
Group
Files
> [!CODE] `#group=files`
>
> ```html #title="index.html"
> <!doctype html>
> <html>
> <head>
> <link rel="stylesheet" href="./style.css" />
> <script module src="./script.js"></script>
> </head>
> <body>
> <main>Hello world!</main>
> </body>
> </html>
> ```
>
> ```css #title="style.css"
> main {
> color: green;
> }
> ```
>
> ```js #title="script.js"
> console.log('Hello world!');
> ```
Tabs
> [!CODE] `#group=tabs`
>
> ```bash #title="npm"
> npm install --save-dev remark-enhance-codeblock
> ```
>
> ```bash #title="pnpm"
> pnpm add -D remark-enhance-codeblock
> ```
>
> ```bash #title="yarn"
> yarn add -D remark-enhance-codeblock
> ```
CONTRIBUTING
See CONTRIBUTING.md for contribution guidelines.