It's pretty reasonable to attempt parsing any text as markdown; right now, this will lead to request-level limits such as memory or time. It'd be better to support a complexity limit within the parser, e.g. if there's a million AST nodes something's probably wrong and it should be treated as plain text.
It's pretty reasonable to attempt parsing any text as markdown; right now, this will lead to request-level limits such as memory or time. It'd be better to support a complexity limit within the parser, e.g. if there's a million AST nodes something's probably wrong and it should be treated as plain text.