markdown-named-code-blocks

November 11, 2024 ยท View on GitHub

This extension makes adding a name to the codeblock possible.

The current version supports VSCode's built-in markdown preview.

Build Status

sample

Usage

Add the filename after the language name followed by a colon in the first line of codeblock.

```js:hello.js
console.log("Hello World!);
```

Default style preview:

default style

Github style preview:

github style

License

Distributed under the MIT License. See LICENSE for more information.