blob: 447d4fe42a22736ebd9e8e00279da8cff4b8fed9 [file]
Input: "{emph}[two\nlines]"
Success! Final stack:
(Lean.Doc.Parser.Inline.role
"{"
`emph
[]
"}"
["["]
[(Lean.Doc.Parser.Inline.text
(Lean.Doc.Parser.versoText "two"))
(Lean.Doc.Parser.Inline.linebreak "\n")
(Lean.Doc.Parser.Inline.text
(Lean.Doc.Parser.versoText "lines"))]
["]"])
All input consumed.
Round-trip OK
Decoded views:
role (braceOpen := "{") (name := emph) (args := []) (braceClose := "}") (brackets := some ("[", "]"))
text (content := "two")
linebreak (newline := "\n")
text (content := "lines")