From 218b986ef55a1e0779ec9b804cde30063fb7d490 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 13 Jul 2020 14:38:25 +0200 Subject: avoid punctuation-dependent markup outside of its own definition section --- README.md | 50 +++++++++++++++++++------------------------------- 1 file 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:
  • Place: Our office, Street name, Paris
  • Meeting participants:
  • Description: Some information not annotated
  • @@ -117,10 +117,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 ``` -:::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 ``` -:::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: -- cgit v1.2.3