Use `<kbd>` and `<samp>` elements where needed

finchie
Nov 28, 2023, 1:32 PM
NCAKAT4FR674CT6OKYADE5K5BWKLNB2NJPVZXJ34A3HGROTKT3YQC

Dependencies

  • [2] ZVDBFCW7 Display arguments when input is invalid
  • [3] MIY7QPYK Refactor argument handling into a separate file
  • [4] LEJN3E4Q Generate more semantic HTML

Change contents

  • replacement in src/arg.rs at line 131
    [3.2377][3.2377:2454]()
    el::ul(aliases.into_iter().map(el::li).collect::<Vec<el::Li<_>>>()),
    [3.2377]
    [3.2454]
    el::ul(
    aliases
    .into_iter()
    .map(el::samp)
    .map(el::li)
    .collect::<Vec<_>>(),
    ),
  • replacement in src/arg.rs at line 169
    [2.509][2.509:537]()
    el::li(
    [2.509]
    [2.537]
    el::li(el::kbd(
  • replacement in src/arg.rs at line 174
    [2.736][2.736:758]()
    )
    [2.736]
    [2.758]
    ))
  • replacement in src/arg.rs at line 176
    [2.777][2.777:822]()
    .collect::<Vec<el::Li<_>>>()
    [2.777]
    [2.822]
    .collect::<Vec<_>>()
  • edit in src/arg.rs at line 181
    [2.973]
    [2.973]
    .map(el::kbd)
  • replacement in src/arg.rs at line 183
    [2.1002][2.1002:1052]()
    .collect::<Vec<el::Li<String>>>()
    [2.1002]
    [2.1052]
    .collect::<Vec<_>>()