Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions editors/vscode/client/tools/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ export default class FormatterTool implements ToolInterface {
"wxss",
"pcss",
"postcss",
// LESS
"less",
// SCSS
"scss",
// GraphQL
"graphql",
"gql",
Expand All @@ -176,6 +180,7 @@ export default class FormatterTool implements ToolInterface {
"mkd",
"mkdn",
"mkdown",
"mdx",
"ronn",
"scd",
"workbook",
Expand Down
4 changes: 4 additions & 0 deletions editors/vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,14 +285,18 @@
"activationEvents": [
"onLanguage:astro",
"onLanguage:css",
"onLanguage:graphql",
"onLanguage:handlebars",
"onLanguage:html",
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:json",
"onLanguage:jsonc",
"onLanguage:less",
"onLanguage:markdown",
"onLanguage:mdx",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@copilot mdx is supported under markdown

for the formatter.ts change, categories it under markdown comment block, line 167

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved mdx extension under the Markdown comment block in formatter.ts at line 183. (commit 2073373)

"onLanguage:svelte",
"onLanguage:scss",
"onLanguage:toml",
"onLanguage:typescript",
"onLanguage:typescriptreact",
Expand Down