3 ms·
That's not what I was asking, actually. I meant rendering markdown directly on a terminal, not going through troff. But this is not so bad as a temporary measu
by einpoklum 6y ago
That's not what I was asking, actually. I meant rendering markdown directly on a terminal, not going through troff.
But this is not so bad as a temporary measure - instead of having man render the troff and pipe it into pager, pandoc will render the markdown into troff, pipe it to man (I guess), then to pager. Shouldn't be terribly difficult to set up.
- tyingq 6y agoAh, okay. There's mdless: https://github.com/ttscoff/mdless https://github.com/ttscoff/mdless Also, for Windows, Microsoft made something similar: https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/show-markdown https://docs.microsoft.com/en-us/powershell/module/microsoft...