mirror of
https://seed.radicle.dev/rad:z3trNYnLWS11cJWC6BbxDs5niGo82.git
synced 2026-10-18 19:10:39 +08:00
metadata: Change section anchor style
Set `idprefix` and `idseparator` so Asciidoctor emits IDs like `#repository-identity` instead of `#_repository_identity`. This applies to every RIP that includes `_metadata.adoc`, so the convention only needs to be configured in this file.
This commit is contained in:
committed by
Lorenz Leutgeb
parent
b7d0548c81
commit
dda0a66d97
@@ -1,3 +1,9 @@
|
||||
// Use anchors of the form `#foo-bar`, i.e., replacing whitespace with "-",
|
||||
// instead of instead of AsciiDoc's default `#_snake_case` (replacing
|
||||
// whitespace with "_" and prefixing with "_").
|
||||
:idprefix:
|
||||
:idseparator: -
|
||||
|
||||
[horizontal]
|
||||
RIP:: {rip}
|
||||
ifdef::discussion[Discussion:: {discussion}]
|
||||
|
||||
Reference in New Issue
Block a user