mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 05:50:13 +01:00
Update MD033/no-inline-html documentation to address a minor issue in the previous commit.
This commit is contained in:
parent
1ac0b22804
commit
32d650250a
4 changed files with 12 additions and 18 deletions
|
|
@ -10,13 +10,11 @@ To fix this, use 'pure' Markdown instead of including raw HTML:
|
||||||
# Markdown heading
|
# Markdown heading
|
||||||
```
|
```
|
||||||
|
|
||||||
Discussions of parameters are usually in paragraph form. What about:
|
|
||||||
|
|
||||||
To allow specific HTML elements anywhere in Markdown content, set the
|
To allow specific HTML elements anywhere in Markdown content, set the
|
||||||
`allowed_elements` parameter to a list of HTML element names. To allow
|
`allowed_elements` parameter to a list of HTML element names. To allow a
|
||||||
a specific set of HTML elements within Markdown tables, set the
|
specific set of HTML elements within Markdown tables, set the
|
||||||
`table_allowed_elements` to a list of HTML element names. This can be
|
`table_allowed_elements` parameter to a list of HTML element names. This can be
|
||||||
used to permit the use of `<br>` line breaks only within Markdown tables.
|
used to permit the use of `<br>`-style line breaks only within Markdown tables.
|
||||||
|
|
||||||
Rationale: Raw HTML is allowed in Markdown, but this rule is included for
|
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
|
those who want their documents to only include "pure" Markdown, or for those
|
||||||
|
|
|
||||||
10
doc/Rules.md
10
doc/Rules.md
|
|
@ -1342,13 +1342,11 @@ To fix this, use 'pure' Markdown instead of including raw HTML:
|
||||||
# Markdown heading
|
# Markdown heading
|
||||||
```
|
```
|
||||||
|
|
||||||
Discussions of parameters are usually in paragraph form. What about:
|
|
||||||
|
|
||||||
To allow specific HTML elements anywhere in Markdown content, set the
|
To allow specific HTML elements anywhere in Markdown content, set the
|
||||||
`allowed_elements` parameter to a list of HTML element names. To allow
|
`allowed_elements` parameter to a list of HTML element names. To allow a
|
||||||
a specific set of HTML elements within Markdown tables, set the
|
specific set of HTML elements within Markdown tables, set the
|
||||||
`table_allowed_elements` to a list of HTML element names. This can be
|
`table_allowed_elements` parameter to a list of HTML element names. This can be
|
||||||
used to permit the use of `<br>` line breaks only within Markdown tables.
|
used to permit the use of `<br>`-style line breaks only within Markdown tables.
|
||||||
|
|
||||||
Rationale: Raw HTML is allowed in Markdown, but this rule is included for
|
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
|
those who want their documents to only include "pure" Markdown, or for those
|
||||||
|
|
|
||||||
10
doc/md033.md
10
doc/md033.md
|
|
@ -22,13 +22,11 @@ To fix this, use 'pure' Markdown instead of including raw HTML:
|
||||||
# Markdown heading
|
# Markdown heading
|
||||||
```
|
```
|
||||||
|
|
||||||
Discussions of parameters are usually in paragraph form. What about:
|
|
||||||
|
|
||||||
To allow specific HTML elements anywhere in Markdown content, set the
|
To allow specific HTML elements anywhere in Markdown content, set the
|
||||||
`allowed_elements` parameter to a list of HTML element names. To allow
|
`allowed_elements` parameter to a list of HTML element names. To allow a
|
||||||
a specific set of HTML elements within Markdown tables, set the
|
specific set of HTML elements within Markdown tables, set the
|
||||||
`table_allowed_elements` to a list of HTML element names. This can be
|
`table_allowed_elements` parameter to a list of HTML element names. This can be
|
||||||
used to permit the use of `<br>` line breaks only within Markdown tables.
|
used to permit the use of `<br>`-style line breaks only within Markdown tables.
|
||||||
|
|
||||||
Rationale: Raw HTML is allowed in Markdown, but this rule is included for
|
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
|
those who want their documents to only include "pure" Markdown, or for those
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue