mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
use HTML anchors for config parameters
this avoids incorrect rendering on the man pages, since `lowdown` neither parses the anchor syntax nor HTML. this should rather be fixed in lowdown, as adding more anchors would otherwise produce ever more noise and error-prone repetition.
This commit is contained in:
parent
dfa27e6b2f
commit
b8a1ff98c1
3 changed files with 10 additions and 7 deletions
|
@ -9,7 +9,7 @@ let
|
|||
let
|
||||
inherit (optionsInfo.${name}) description documentDefault defaultValue aliases;
|
||||
result = squash ''
|
||||
- [`${name}`]{#conf-${name}}
|
||||
- <span id="conf-${name}">[`${name}`](#conf-${name})</span>
|
||||
|
||||
${indent " " body}
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue