mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-09-21 21:30:47 +02:00
Add MD033 with tests, rename test file.
This commit is contained in:
parent
1da7064094
commit
495fbac6fd
9 changed files with 49 additions and 5 deletions
16
doc/Rules.md
16
doc/Rules.md
|
@ -682,3 +682,19 @@ items with hanging indents are okay:
|
|||
|
||||
* This is
|
||||
okay
|
||||
|
||||
## MD033 - Inline HTML
|
||||
|
||||
Tags: html
|
||||
|
||||
This rule is triggered whenever raw HTML is used in a markdown document:
|
||||
|
||||
<h1>Inline HTML header</h1>
|
||||
|
||||
To fix this, use 'pure' markdown instead of including raw HTML:
|
||||
|
||||
# Markdown header
|
||||
|
||||
Rationale: Raw HTML is allowed in markdown, but this rule is included for
|
||||
those who want their documents to only include "pure" markdown, or for those
|
||||
who are rendering markdown documents in something other than HTML.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue