From b9169aa1ecd1380b70b7f83786071e5a936147ec Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 13 Jul 2020 15:17:06 +0200 Subject: deprecate punctuation-dependent markup --- README.md | 55 ++++++++++++++++++++++++------------------------------- 1 file changed, 24 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index b7ad103..ae9fbca 100644 --- a/README.md +++ b/README.md @@ -465,37 +465,6 @@ An attribute beginning with the `=` sign indicates a subject IRI, equivalent to ### Properties in lists -#### Key/Value pairs - -If the list item contains `:` or `=`, the annotation is applied to the string after this character. -If final non-space non-annotation character of the list item is `,` or `;`, the annotation is applied to the string before this character. - -```markdown -- Name: Thomas Francart {foaf:name} -- Age = 39 {foaf:age} -- Profession: Semantic Web Consultant; {rdfs:comment} -- Hobby: Bird watching; train spotting; {rdfs:comment} -``` - -Should yield (note how semi-colons are excluded from last annotations): - -```html - -``` - -:::danger -:heavy_exclamation_mark: FIXME: Undecided if punctuation exceptions for lists should be included -::: - -:::danger -:heavy_exclamation_mark: FIXME: Undecided if final punctuation should be omitted -::: - #### Value-only list items ```markdown @@ -1135,3 +1104,27 @@ Should yield
  • rdfs:comment: Semantic Web Consultant
  • ``` + + +#### Omit list item leading key and trailing repetition punctuation + +If the list item contains `:` or `=`, the annotation is applied to the string after this character. +If final non-space non-annotation character of the list item is `,` or `;`, the annotation is applied to the string before this character. + +```markdown +- Name: Thomas Francart {foaf:name} +- Age = 39 {foaf:age} +- Profession: Semantic Web Consultant; {rdfs:comment} +- Hobby: Bird watching; train spotting; {rdfs:comment} +``` + +Should yield (note how semi-colons are excluded from last annotations): + +```html + +``` -- cgit v1.2.3