mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
parent
410da18a2c
commit
fb31bb5f35
4 changed files with 71 additions and 3 deletions
6
test/inline_html-allowed_elements.json
Normal file
6
test/inline_html-allowed_elements.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"default": true,
|
||||
"MD033": {
|
||||
"allowed_elements": [ "h1", "h3", "HR", "p" ]
|
||||
}
|
||||
}
|
||||
41
test/inline_html-allowed_elements.md
Normal file
41
test/inline_html-allowed_elements.md
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<h1>This is allowed.</h1>
|
||||
|
||||
<h2>This is not allowed. {MD033}</h2>
|
||||
|
||||
<h3>This is allowed.</h3>
|
||||
|
||||
<h1>This <h2>is not</h2> allowed. {MD033}</h1>
|
||||
|
||||
<h3>This <h2>is not</h2> allowed. {MD033}</h3>
|
||||
|
||||
<hr>
|
||||
|
||||
<hr/>
|
||||
|
||||
<br> {MD033}
|
||||
|
||||
<br/> {MD033}
|
||||
|
||||
<p>
|
||||
This is allowed.
|
||||
</p>
|
||||
|
||||
<article> {MD033}
|
||||
This is not allowed.
|
||||
</article>
|
||||
|
||||
<p>
|
||||
<article> {MD033}
|
||||
This is not allowed.
|
||||
</article>
|
||||
<hr/>
|
||||
<br/> {MD033}
|
||||
</p>
|
||||
|
||||
<P>
|
||||
<Article> {MD033}
|
||||
This is not allowed.
|
||||
</Article>
|
||||
<Hr/>
|
||||
<Br/> {MD033}
|
||||
</P>
|
||||
Loading…
Add table
Add a link
Reference in a new issue