Skip to content

tsutsu3/vscode-named-code-blocks

Repository files navigation

markdown-named-code-blocks

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.