Allow exceptions for MD033 "Inline HTML" (fixes #3, fixes #4).

This commit is contained in:
David Anson 2015-12-15 21:30:37 -08:00
parent 410da18a2c
commit fb31bb5f35
4 changed files with 71 additions and 3 deletions

View file

@ -709,6 +709,8 @@ items with hanging indents are okay:
Tags: 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>
@ -721,6 +723,8 @@ 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.
## MD034 - Bare URL used
Tags: links, url