spring-io / asciidoctor-extensions

Asciidoctor extensions (currently Asciidoctor.js only) developed for the Spring docs.
Apache License 2.0
2 stars 5 forks source link

Allow top level section IDs to contain level separators #7

Closed philwebb closed 7 months ago

philwebb commented 7 months ago

Currently the section-ids-extension doesn't allow level separators to be used in top-level identifiers. With the Spring Boot migration, this is something we'd like to support so that we can enforce hierarchical section IDs and also use the import-code:: macro.

E.g., we want to support a document like this:

[[features.external-config]]
= Externalized Configuration
...
include-code::MyBean[]