Implement autolinks, fixes #2