diff options
-rw-r--r-- | README.md | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -296,7 +296,8 @@ And would produce the following HTML+RDFa: ### Block-cluster scope -Hints in a block with no non-whitespace characters before or after the hints, followed by a different type or level of block, applies to the following block and any descendant blocks; or followed by a non-header non-list block, applies to the following block and any following siblings and any descendant blocks of any of them. +Hints in a block with no non-whitespace characters before or after the hints, followed by a different type or level of block, applies to the following block and any contained or descendant blocks; or followed by a non-header non-list block, applies to the following block and any following siblings and any contained or descendant blocks of any of them. +For the context of this definition, a paragraph or any container block (block which can contain other blocks) is considered to be descendent of a leaf block (block which cannot contain other blocks, e.g. a header or horisontal ruler). If the resulting scope does not correspond to already generated html scope, then a div is added. In particular, when the resulting scope is the whole Markdown context then a Markdown parser targeting a full html document (not only a subset of body part as Markdown generally does) may apply the hints to the `<html>` tag. ```markdown @@ -334,10 +335,6 @@ I once read this: </div> ``` -:::danger -:heavy_exclamation_mark: FIXME: Uncertain which exact block types are considered descendant of which others. -::: - ### Link definition scope Hints not immediately following an explicit span, in a link definition block with no non-whitespace characters after the hints, applies to all references to that definition, even if no link is defined. |