2016-06-24 10:22:48 -07:00
{
"nodes" : [
{
"kind" : "block" ,
"type" : "paragraph" ,
"nodes" : [
{
"kind" : "text" ,
2017-10-14 15:36:27 -07:00
"leaves" : [
2016-06-24 10:22:48 -07:00
{
"text" : "The editor gives you full control over the logic you can add. For example, it's fairly common to want to add markdown-like shortcuts to editors. So that, when you start a line with \"> \" you get a blockquote that looks like this:"
}
]
}
]
} ,
{
"kind" : "block" ,
"type" : "block-quote" ,
"nodes" : [
{
"kind" : "text" ,
2017-10-14 15:36:27 -07:00
"leaves" : [
2016-06-24 10:22:48 -07:00
{
"text" : "A wise quote."
}
]
}
]
} ,
{
"kind" : "block" ,
"type" : "paragraph" ,
"nodes" : [
{
"kind" : "text" ,
2017-10-14 15:36:27 -07:00
"leaves" : [
2016-06-24 10:22:48 -07:00
{
"text" : "Order when you start a line with \"## \" you get a level-two heading, like this:"
}
]
}
]
} ,
{
"kind" : "block" ,
"type" : "heading-two" ,
"nodes" : [
{
"kind" : "text" ,
2017-10-14 15:36:27 -07:00
"leaves" : [
2016-06-24 10:22:48 -07:00
{
"text" : "Try it out!"
}
]
}
]
} ,
{
"kind" : "block" ,
"type" : "paragraph" ,
"nodes" : [
{
"kind" : "text" ,
2017-10-14 15:36:27 -07:00
"leaves" : [
2016-06-24 10:22:48 -07:00
{
"text" : "Try it out for yourself! Try starting a new line with \">\", \"-\", or \"#\"s."
}
]
}
]
}
]
}