Auto-detect links