Use anonymous function in Linker::formatAutocomments/formatLinksInComment