mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-25 07:25:13 +00:00
add parts
This commit is contained in:
parent
fb3ab83870
commit
34c81f8e12
1 changed files with 37 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
// start = syntax
|
||||
start = root
|
||||
|
||||
// general
|
||||
|
||||
|
@ -8,3 +8,39 @@ lineBreak
|
|||
= "\n" / "\r\n" / "\r"
|
||||
spacing
|
||||
= space / lineBreak
|
||||
|
||||
// parts
|
||||
|
||||
plain
|
||||
= emoji
|
||||
/ text
|
||||
|
||||
block
|
||||
= title
|
||||
/ quote
|
||||
/ search
|
||||
/ blockCode
|
||||
/ mathBlock
|
||||
/ center
|
||||
|
||||
inline
|
||||
= big
|
||||
/ bold
|
||||
/ small
|
||||
/ italic
|
||||
/ strike
|
||||
/ motion
|
||||
/ spin
|
||||
/ jump
|
||||
/ flip
|
||||
/ inlineCode
|
||||
/ mathInline
|
||||
/ mention
|
||||
/ hashtag
|
||||
/ url
|
||||
/ link
|
||||
/ plain
|
||||
|
||||
root
|
||||
= block
|
||||
/ inline
|
||||
|
|
Loading…
Reference in a new issue