mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Update MD040/fenced-code-language to use case-sensitive comparison for allowed languages (fixes #627).
This commit is contained in:
parent
30353cc733
commit
b73ab7fd91
8 changed files with 106 additions and 32 deletions
|
@ -1648,8 +1648,8 @@ Plain text in a code block
|
|||
````
|
||||
|
||||
You can configure the `allowed_languages` parameter to specify a list of
|
||||
languages code blocks could use. The default value is `[]` which means any
|
||||
language specifier is valid.
|
||||
languages code blocks could use. Languages are case sensitive. The default value
|
||||
is `[]` which means any language specifier is valid.
|
||||
|
||||
Rationale: Specifying a language improves content rendering by using the
|
||||
correct syntax highlighting for code. More information:
|
||||
|
|
|
@ -36,8 +36,8 @@ Plain text in a code block
|
|||
````
|
||||
|
||||
You can configure the `allowed_languages` parameter to specify a list of
|
||||
languages code blocks could use. The default value is `[]` which means any
|
||||
language specifier is valid.
|
||||
languages code blocks could use. Languages are case sensitive. The default value
|
||||
is `[]` which means any language specifier is valid.
|
||||
|
||||
Rationale: Specifying a language improves content rendering by using the
|
||||
correct syntax highlighting for code. More information:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue