1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-12 05:20:26 +00:00

Support mycomarkup in blockquotes

This commit is contained in:
bouncepaw 2021-01-04 02:18:23 +05:00
parent bee862563d
commit 184aa1ae32

View File

@ -219,8 +219,13 @@ normalState:
case startsWith(">"):
addParagraphIfNeeded()
addLine(fmt.Sprintf(
"<blockquote id='%d'>%s</blockquote>", state.id, remover(">")(line)))
addLine(
fmt.Sprintf(
"<blockquote id='%d'>%s</blockquote>",
state.id,
ParagraphToHtml(state.name, remover(">")(line)),
),
)
case startsWith("=>"):
addParagraphIfNeeded()
state.where = "launchpad"