From 47ae6f61651cccff8892e9a6335a204082d65b8f Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Tue, 21 Jun 2022 13:39:30 +0300 Subject: [PATCH] Update markup element examples to updated syntax --- spec/syntax.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/syntax.md b/spec/syntax.md index 8725d6f9ba..fa0a57ee0a 100644 --- a/spec/syntax.md +++ b/spec/syntax.md @@ -146,7 +146,7 @@ plucking the first name from the object representing a person: A message with two markup-like element placeholders, `button` and `link`, which the runtime can use to construct a document tree structure for a UI framework. - [{button}Submit{/button} or {link}cancel{/link}.] + [{+button}Submit{-button} or {+link}cancel{-link}.] ### Selection @@ -387,11 +387,11 @@ MarkupEnd ::= '-' Name /* ws: explicit */ Examples: ``` -[This is {b}bold{/b}.] +[This is {+b}bold{-b}.] ``` ``` -[{h1 name=(above-and-beyond)}Above And Beyond{/h1}] +[{+h1 name=(above-and-beyond)}Above And Beyond{-h1}] ``` ## Tokens