aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md99
1 files changed, 45 insertions, 54 deletions
diff --git a/README.md b/README.md
index b348d1f..f48f41f 100644
--- a/README.md
+++ b/README.md
@@ -193,6 +193,25 @@ Would produce the following HTML+RDFa:
Notice how second paragraph has punctuation *after* the hints.
+Similarly for a list:
+
+```markdown
+- Thomas Francart {foaf:name}
+- 39 {foaf:age}
+- Semantic Web Consultant {rdfs:comment}
+```
+
+Would produce the following HTML+RDFa:
+
+```html
+<ul>
+ <li><span property="foaf:name">Thomas Francart</span></li>
+ <li><span property="foaf:age">Thomas Francart</span></li>
+ <li><span property="rdfs:comment">Semantic Web Consultant</span></li>
+</ul>
+```
+
+
### 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.
@@ -253,9 +272,32 @@ Would produce the following HTML+RDFa:
<h1>Animals</h1>
```
-:::warning
-Insert example with a list
-:::
+Similarly for a list:
+
+```markdown
+{foaf:member}
+- Thomas
+- Vincent
+- Nicolas
+```
+
+Is equivalent to
+
+```markdown
+- Thomas {foaf:member}
+- Vincent {foaf:member}
+- Nicolas {foaf:member}
+```
+
+And would produce the following HTML+RDFa:
+
+```html
+<ul>
+ <li><span property="foaf:member">Thomas</span></li>
+ <li><span property="foaf:member">Vincent</span></li>
+ <li><span property="foaf:member">Nicolas</span></li>
+</ul>
+```
### Block-cluster scope
@@ -463,57 +505,6 @@ An attribute beginning with the `=` sign indicates a subject IRI, equivalent to
## Annotate properties (RDFa "property" attribute)
-### Properties in lists
-
-#### Value-only list items
-
-```markdown
-- Thomas Francart {foaf:name}
-- 39 {foaf:age}
-- Semantic Web Consultant {rdfs:comment}
-```
-
-Should yield
-
-```html
-<ul>
- <li><span property="foaf:name">Thomas Francart</span></li>
- <li><span property="foaf:age">Thomas Francart</span></li>
- <li><span property="rdfs:comment">Semantic Web Consultant</span></li>
-</ul>
-```
-
-
-#### Annotate a list with a property
-
-
-Annotating a list with a property annotation should be treated as if all list items are annotated with the same property
-
-```markdown
-{foaf:member}
-- Thomas
-- Vincent
-- Nicolas
-```
-
-Is equivalent to
-
-```markdown
-- Thomas {foaf:member}
-- Vincent {foaf:member}
-- Nicolas {foaf:member}
-```
-
-And should yield
-
-```html
-<ul>
- <li><span property="foaf:member">Thomas</span></li>
- <li><span property="foaf:member">Vincent</span></li>
- <li><span property="foaf:member">Nicolas</span></li>
-</ul>
-```
-
### Inline properties
#### Properties on inline delimiters