[
, add !
delimiter to delimiter stack and add a text node toblock's children. Otherwise just add a text node.
# If next character is `[`, add `!` delimiter to delimiter stack and add a text node to
# block's children.
# Otherwise just add a text node.
private fun parse_bang: Bool do
var start_index = index
advance 1
if peek == '[' then
advance 1
var node = append_text("![")
# Add entry to stack for this opener
add_bracket(new MdBracket.image(node, start_index + 1, column - 2, last_bracket, last_delimiter))
else
append_text("!")
end
return true
end
lib/markdown2/markdown_inline_parsing.nit:477,2--494,4