support for parens, brackets and markdown