add slugs and named anchors to everything