Add automatic anchor generation (configure in prefs)