Todo
A new extension can be created by extending markdown.Extension
class of the python markdown library. Also, the link-replacement logic can be implemented by extending markdown.inlinepatterns.Pattern
class.
What is expected
User mentions such as @admin1 @user1 will be converted into hyperlinks when markdown is rendered as HTML.
Also it is better is the user is not found and link color is red (We can reuse
notfound
css class ), Thus, user is found then normal color with the linkPosted feedback on the merge reqest https://forge-allura.apache.org/p/allura/git/merge-requests/326/
Merged. Nice job @shalithasuranga thinking of adding tests for literal/code text.