spring-io / spring-asciidoctor-backends

A backend for Asciidoctor used to produce Spring styled HTML
Apache License 2.0
77 stars 15 forks source link

Support anchor rewrites #29

Closed philwebb closed 3 years ago

philwebb commented 3 years ago

If a project needs to change the title anchors existing links can break. Usually we'd use mod_rewrite to deal with updated links but that's not an option for anchors. We could, however, do it with some client-side javascript.

We could consume some kind of simple properties file during the generation:

my-badly-named-title=feature-something-good