valentjn / vscode-ltex

LTeX: Grammar/spell checker :mag::heavy_check_mark: for VS Code using LanguageTool with support for LaTeX :mortar_board:, Markdown :pencil:, and others
https://valentjn.github.io/ltex
Mozilla Public License 2.0
800 stars 27 forks source link

Doesn't work on MDX files #846

Open RichardJECooke opened 1 year ago

RichardJECooke commented 1 year ago

Describe the bug LTex doesn't work on .mdx files, even after I ctrl-shift-p - activate ltex. Nor can I see any setting in the settings to enable it for .mdx. Can't see anything in the documentation either. I think this is a bug.

Steps to reproduce Create an .mdx file. See LTex doesn't do anything.

Expected behavior Ltex reports errors with squiggly lines.

LTeX configuration Default new config when installing.

Version information 13.1.0

RichardJECooke commented 11 months ago

Workaround from https://stackoverflow.com/questions/65275709/how-to-see-preview-of-mdx-file-as-markdown-in-vscode

Set

"files.associations": { "*.mdx": "markdown" },