diff options
author | Jonas Smedegaard <dr@jones.dk> | 2020-06-30 19:02:40 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2020-06-30 19:02:40 +0200 |
commit | cec466d21410dea2fabd3cdf16bc02a6f64f18a0 (patch) | |
tree | fe5a3c028602f7918b91f798d7722ac9c8f58fed | |
parent | 36582ed97cca3d62bbf7d7d846054a596503dd74 (diff) |
shorter scope names
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -197,7 +197,7 @@ Would produce the following HTML+RDFa: Notice how second paragraph has punctuation *after* the hints. -### Block-derived scope +### Block-tree scope Hints in a block with non-whitespace characters after the hints and none before, applies to the block and any descendant blocks. 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. @@ -228,7 +228,7 @@ and you can give me a ring.<p> Notice how second header and succeeding paragraph is wrapped with a div tag, whereas third header is omitted because it is not a *descendant* but a *sibling*. -### Nextblocks-same-level-each scope +### Block-siblings scope Hints in a header or list block with no non-whitespace characters before or after the hints, followed by a block of same type and level, applies individually to each following block of same type and level, until any block of a lower level. @@ -261,7 +261,7 @@ Would produce the following HTML+RDFa: Insert example with a list ::: -### Nextblocks-derived-and-nonlevel-siblings scope +### 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. 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. @@ -896,7 +896,7 @@ Should yield </div> ``` -As per [Nextblocks-derived-and-nonlevel-siblings scope](#Nextblocks-derived-and-nonlevel-siblings-scope), hints applies until next descendant block or sibling paragraph. To limit without introducing new content, use an empty hint: +As per [Block-cluster scope](#Block-cluster-scope), hints applies until next descendant block or sibling paragraph. To limit without introducing new content, use an empty hint: ```markdown {=wdt:Q80} |