mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-23 00:29:13 +08:00
22 lines
863 B
Text
22 lines
863 B
Text
/**
|
||
* List of lowercase HTML tag names which when parsing HTML (flow), result
|
||
* in more relaxed rules (condition 6): because they are known blocks, the
|
||
* HTML-like syntax doesn’t have to be strictly parsed.
|
||
* For tag names not in this list, a more strict algorithm (condition 7) is used
|
||
* to detect whether the HTML-like syntax is seen as HTML (flow) or not.
|
||
*
|
||
* This is copied from:
|
||
* <https://spec.commonmark.org/0.30/#html-blocks>.
|
||
*/
|
||
export const htmlBlockNames: string[]
|
||
/**
|
||
* List of lowercase HTML tag names which when parsing HTML (flow), result in
|
||
* HTML that can include lines w/o exiting, until a closing tag also in this
|
||
* list is found (condition 1).
|
||
*
|
||
* This module is copied from:
|
||
* <https://spec.commonmark.org/0.30/#html-blocks>.
|
||
*
|
||
* Note that `textarea` was added in `CommonMark@0.30`.
|
||
*/
|
||
export const htmlRawNames: string[]
|