Skip to content

Commit 11c3d5d

Browse files
authored
Update markup element example to updated syntax (#285)
Update markup element examples to updated syntax
1 parent cfcb688 commit 11c3d5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/syntax.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ plucking the first name from the object representing a person:
146146
A message with two markup-like element placeholders, `button` and `link`,
147147
which the runtime can use to construct a document tree structure for a UI framework.
148148

149-
[{button}Submit{/button} or {link}cancel{/link}.]
149+
[{+button}Submit{-button} or {+link}cancel{-link}.]
150150

151151
### Selection
152152

@@ -387,11 +387,11 @@ MarkupEnd ::= '-' Name /* ws: explicit */
387387
Examples:
388388

389389
```
390-
[This is {b}bold{/b}.]
390+
[This is {+b}bold{-b}.]
391391
```
392392

393393
```
394-
[{h1 name=(above-and-beyond)}Above And Beyond{/h1}]
394+
[{+h1 name=(above-and-beyond)}Above And Beyond{-h1}]
395395
```
396396

397397
## Tokens

0 commit comments

Comments
 (0)