mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 22:40:13 +01:00
MD033/no-inline-html: Add table_allowed_elements parameter.
This commit is contained in:
parent
c6e2ee1488
commit
1ac0b22804
16 changed files with 432 additions and 8 deletions
33
test/inline_html-table_allowed_elements.md
Normal file
33
test/inline_html-table_allowed_elements.md
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
# inline_html-table_allowed_elements.md
|
||||
|
||||
<h1>This is allowed</h1>
|
||||
|
||||
<h2>This is not allowed {MD033}</h2>
|
||||
|
||||
<br> This is not allowed {MD033}
|
||||
|
||||
<br/> This is not allowed {MD033}
|
||||
|
||||
| Allowed | Not Allowed |
|
||||
| ------------------- | ------------------ |
|
||||
| <br> | |
|
||||
| <br/> | |
|
||||
| <table><br></table> | |
|
||||
| | <h1> {MD033} </h1> |
|
||||
|
||||
<table>
|
||||
<br/> {MD033}
|
||||
</table>
|
||||
|
||||
<!-- markdownlint-configure-file {
|
||||
"no-inline-html": {
|
||||
"allowed_elements": [
|
||||
"h1",
|
||||
"tAbLE"
|
||||
],
|
||||
"table_allowed_elements": [
|
||||
"br",
|
||||
"tAbLE"
|
||||
]
|
||||
}
|
||||
} -->
|
||||
Loading…
Add table
Add a link
Reference in a new issue