Please remove SYNAPSE_MARKDOWN_WIDGET_PARSER_INDEX. 
Suggest moving set simpleParsers away from processLine (since it does not change per line) to reset(List<MarkdownElementParser> simpleParsers), and figure out the synapse markdown widget index there (not per line) in the LinkParser.