add parts

This commit is contained in:
Marihachi 2020-01-30 23:16:03 +09:00 committed by GitHub
parent fb3ab83870
commit 34c81f8e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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