aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-07-13 14:38:25 +0200
committerJonas Smedegaard <dr@jones.dk>2020-07-13 14:53:41 +0200
commit218b986ef55a1e0779ec9b804cde30063fb7d490 (patch)
tree011ecad5315816c675d8aed931abef9f7c516ceb
parent276ec0ee479c5cf29314eb179bfd340e719af8eb (diff)
avoid punctuation-dependent markup outside of its own definition section
-rw-r--r--README.md50
1 files changed, 19 insertions, 31 deletions
diff --git a/README.md b/README.md
index 8e25a43..54da77f 100644
--- a/README.md
+++ b/README.md
@@ -80,12 +80,12 @@ Notice how IRI namespace "schema" is implicitly resolved from its listing at [RD
## {schema:name}
## Specification meeting
-* Date: 11/10 {schema:startDate}
-* Place: Our office, Street name, Paris {schema:location}
+* Date: [11/10]{schema:startDate}
+* Place: [Our office, Street name, Paris]{schema:location}
* Meeting participants: {schema:attendee}
- * Alice;
- * Bob;
- * [Tim](https://www.wikidata.org/wiki/Q80);
+ * Alice
+ * Bob
+ * [Tim](https://www.wikidata.org/wiki/Q80)
* Description: Some information not annotated
## Launch party
@@ -104,9 +104,9 @@ Would produce the following HTML+RDFa:
<li>Place: <span property="location">Our office, Street name, Paris</span></li>
<li>Meeting participants:
<ul>
- <li><span property="attendee">Alice</span>;</li>
- <li><span property="attendee">Bob</span>;</li>
- <li><a property="attendee" href="https://www.wikidata.org/wiki/Q80">Tim</a>;</li>
+ <li property="attendee">Alice</li>
+ <li property="attendee">Bob</li>
+ <li property="attendee"><a href="https://www.wikidata.org/wiki/Q80">Tim</a></li>
</ul>
</li>
<li>Description: Some information not annotated</li>
@@ -118,10 +118,6 @@ Would produce the following HTML+RDFa:
```
:::danger
-:heavy_exclamation_mark: FIXME: Undecided if final punctuation should be omitted
-:::
-
-:::danger
:heavy_exclamation_mark: FIXME: There is a problem in the RDFa markup as this generates _a single event with 2 names_ instead of 2 events each with a name (Thomas). Test the markup at http://rdfa.info/play
:::
@@ -525,33 +521,29 @@ Annotating a list with a property annotation should be treated as if all list it
```markdown
{foaf:member}
-- Thomas ;
-- Vincent;
-- Nicolas;
+- Thomas
+- Vincent
+- Nicolas
```
Is equivalent to
```markdown
-- Thomas; {foaf:member}
-- Vincent; {foaf:member}
-- Nicolas; {foaf:member}
+- 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>
+ <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>
```
-:::danger
-:heavy_exclamation_mark: FIXME: Undecided if final punctuation should be omitted
-:::
-
### Inline properties
#### Properties on inline delimiters
@@ -707,8 +699,8 @@ Used to indicate that a whole list describes an entity. The annotation should be
```markdown
{=wdt:Q80}
-- Name: Tim Berner's Lee {foaf:name}
-- ISNI: 0000 0000 7866 6209 {wd:P213}
+- Name: [Tim Berner's Lee]{foaf:name}
+- ISNI: [0000 0000 7866 6209]{wd:P213}
{wdt}: http://www.wikidata.org/prop/direct/
@@ -723,10 +715,6 @@ Should yield
</ul>
```
-:::warning
-:heavy_exclamation_mark: FIXME: Undecided if punctuation exceptions for lists should be included
-:::
-
### Paragraph preceding a list
If an annotation is between a paragraph and a list, then it applies to the list when standalone with double newlines same as writing a separate paragraph: