npm.io
0.1.0 • Published 2d ago

remark-enhance-codeblock

Licence
MIT
Version
0.1.0
Deps
3
Size
83 kB
Vulns
0
Weekly
0
Stars
1

remark-enhance-codeblock

enhance markdown codeblock. WIP not published yet.

MIT npm.badge codecov

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.

More unified Plugins by Me


built by human, not agents.

Keywords