Format the block of code where the cursor is located
Command Palette.


| Language | Formatter(JS Module) |
|---|---|
| C(C++) | js-beautify |
| csharp | js-beautify |
| java | prettier |
| xml | xml-formatter |
| sql | sqlformatter |
| html | prettier |
| vue | prettier |
| css | prettier |
| javascript | prettier |
| typescript | prettier |
| json5 | prettier |
| scss | prettier |
| less | prettier |
| graphql | prettier |
| markdown | prettier |
| yaml | prettier |
Make sure the Markdown syntax of the code block you want to format is correct.
The plugin will check your code syntax which use prettier of Formatter(JS Module).

You should bypass the syntax check. You can use a language powered by js-beautify instead of the current language.
After formatting, change it back.