1
0
Fork 0
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:
Valentin Gagarin 2022-12-07 16:12:26 +01:00
parent dfa27e6b2f
commit b8a1ff98c1
3 changed files with 10 additions and 7 deletions

View file

@ -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}
'';