Open
Description
Currently MD040 lets you set allowed_languages
, but that's not a good fit if you only want to disallow a couple of specific languages. Adding a disallowed_languages
parameter could handle that case. Should probably only allow one of those parameters or the other, but not both, since they're contradictory.
Bonus points if disallowed_languages
could be a string[]
or a mapping of languages to their preferred alternative, e.g.:
"fenced-code-language": {
"disallowed_languages": {
"js": "javascript"
}
}
would produce an error telling the user to use javascript
instead of js
as the language identifier.