self
.
# Read and escape the markdown contained in `self`.
private fun escape(out: FlatBuffer, c: Char, pos: Int): Int do
if c == '\\' or c == '[' or c == ']' or c == '(' or c == ')' or c == '{' or
c == '}' or c == '#' or c == '"' or c == '\'' or c == '.' or c == '<' or
c == '>' or c == '*' or c == '+' or c == '-' or c == '_' or c == '!' or
c == '`' or c == '~' or c == '^' then
out.add c
return pos + 1
end
out.add '\\'
return pos
end
lib/markdown/markdown.nit:2563,2--2574,4