mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 14:00: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
|
|
@ -10,7 +10,13 @@ To fix this, use 'pure' Markdown instead of including raw HTML:
|
|||
# Markdown heading
|
||||
```
|
||||
|
||||
Note: To allow specific HTML elements, use the `allowed_elements` parameter.
|
||||
Discussions of parameters are usually in paragraph form. What about:
|
||||
|
||||
To allow specific HTML elements anywhere in Markdown content, set the
|
||||
`allowed_elements` parameter to a list of HTML element names. To allow
|
||||
a specific set of HTML elements within Markdown tables, set the
|
||||
`table_allowed_elements` to a list of HTML element names. This can be
|
||||
used to permit the use of `<br>` line breaks only within Markdown tables.
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue