Attaches anchor directly to heading tags.