mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-11 02:18:50 +01:00
21 lines
No EOL
613 B
Markdown
21 lines
No EOL
613 B
Markdown
# MD033 - Inline HTML
|
|
|
|
Tags: html
|
|
|
|
Aliases: no-inline-html
|
|
|
|
Parameters: allowed_elements (array of string; default empty)
|
|
|
|
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.
|
|
|
|
Note: To allow specific HTML elements, use the 'allowed_elements' parameter. |