It is not that simple:
[quote="codinghorror, post:6, topic:112354"]
You don’t need to touch the existing Markdown, just convert BBCode
[/quote]
Is BBCODE
`[b]test[/b]`
Is not BBCODE cause it is ` quoted
In the past we went down the regex hell of hack on top of hack to allow for all the edge cases and it we ended up with a nightmare pipeline.
The problem is there is no clean way of fishing out BBCODE and only converting it.