Skip to content

Commit

Permalink
man: Fix handling of definition lists in man pages
Browse files Browse the repository at this point in the history
Existing man processing was totally broken, since remark doesn't
natively support definition lists.

Unfortunately, remark-man doesn't natively support definition lists
either, so we have to fake things by altering the syntax tree created
by remark parser and convert the various definition list entries.

This still isn't working 100% (multiple nested definition lists cause some
indention issues), but it is much improved over previous output.
  • Loading branch information
slusarz committed Aug 24, 2024
1 parent 22f56c1 commit 39232b5
Show file tree
Hide file tree
Showing 3 changed files with 1,090 additions and 399 deletions.
Loading

0 comments on commit 39232b5

Please sign in to comment.