cool!!! auto linking and images in comments are underrated.
it’s definitely not perfect, but feel free to plunder my code for auto-linking HTML, based on kylewm’s: https://github.com/snarfed/webutil/blob/9770108bc133700e2be690ed9475f96e6ba13331/util.py#L391-L489
also, did you only switch articles to name? or notes too? the wordpress plugins originally only showed name for both, which annoyed me, so i made both show full content if it was short enough: https://github.com/pfefferle/wordpress-semantic-linkbacks/pull/64