Switch to the more incremental approach that the Markdown library uses, using its regexes (much simpler now) and inheriting from its classes which do any extra work needed. We just override some parts to modify how [..] and [..](..) behave after markdown has done the parsing.
allura:db/8597
Switch to the more incremental approach that the Markdown library uses, using its regexes (much simpler now) and inheriting from its classes which do any extra work needed. We just override some parts to modify how
[..]and[..](..)behave after markdown has done the parsing.Based largely on the original Markdown work here: https://github.com/Python-Markdown/markdown/commit/d18c3d0acab0e7469c3284c897afcb61f9dd1fea?w=0#diff-9edb00b2a79237066818ddca29f224fa7d91bf28ee9b33255b0f00ce2a99d489 especially
inlinepatterns.pywhose diff might be collapsed by default.merged