logoalt Hacker News

kristopoloustoday at 5:37 AM1 replyview on HN

I'll get it up soon, probably should. This little snippet will help you though:

   $ man --html="$(which markitdown)" <man page>
That goes man -> html -> markdown which is not only token efficient but also llms are pretty good at creating hierarchies from markdown

Replies

r-wtoday at 5:56 AM

I bet you could do the same thing with pandoc and skip serializing to HTML entirely.

show 1 reply