feat(markdown): add formatter for mdx

This commit is contained in:
Folke Lemaitre 2024-05-21 23:05:29 +02:00
parent 9eec03d890
commit ae6d8f1a34
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -10,7 +10,8 @@ return {
optional = true,
opts = {
formatters_by_ft = {
markdown = { { "prettierd", "prettier" }, "markdownlint", "markdown-toc" },
["markdown"] = { { "prettierd", "prettier" }, "markdownlint", "markdown-toc" },
["markdown.mdx"] = { { "prettierd", "prettier" }, "markdownlint", "markdown-toc" },
},
},
},