This extension formats contents of code block of markdown file.
Please specify language language identifier after triple backticks to format the code as that language.
Features
Format code block
Copy and format the contents of the code block into a temporary document, then copy the result to the original file.
Minify code block
Currently only JSON code block is supported
Extension Settings
Settings name
Description
Default
markdown-code-block-formatter.defaultLanguage
Deefault language of code block. This language is used when language of code block is filled.
N/A
markdown-code-block-formatter.languageNameMapping
Mapping of language name of code block to language id used to format code block. For example: { "js": "javascript" }