2022-11-11 07:07:04 +01:00
|
|
|
# md040-language_only.md
|
|
|
|
|
|
|
|
Fence code block information with leading whitespace:
|
|
|
|
|
|
|
|
``` html
|
2024-02-18 17:22:32 -08:00
|
|
|
<h1>markdownlint</h1>
|
2022-11-11 07:07:04 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Fence code block information with trailing whitespace:
|
|
|
|
|
|
|
|
```css
|
2024-02-18 17:22:32 -08:00
|
|
|
body {} {MD009:11}
|
2022-11-11 07:07:04 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
Fence code block information with extra data:
|
|
|
|
|
|
|
|
```html version=5
|
|
|
|
<title>MarkdownLint</title> {MD040:17}
|
|
|
|
```
|
|
|
|
|
|
|
|
Fence code block information without whitespaces and extra data:
|
|
|
|
|
|
|
|
```css
|
|
|
|
a {}
|
|
|
|
```
|
2023-03-15 21:26:22 -07:00
|
|
|
|
|
|
|
<!-- markdownlint-configure-file {
|
2023-07-28 14:33:03 +10:00
|
|
|
"fenced-code-language": {
|
2023-03-15 21:26:22 -07:00
|
|
|
"allowed_languages": [
|
|
|
|
"html",
|
|
|
|
"css"
|
|
|
|
],
|
|
|
|
"language_only": true
|
|
|
|
}
|
|
|
|
} -->
|