logoalt Hacker News

roxolotltoday at 1:08 PM1 replyview on HN

I’d highly recommend pandoc[0] if you need markdown conversion. Basically converts from everything and any markdown style to everything else. And then for clipboard just use `| pbcopy` on a Mac or `| xsel -ib`. Full command on a Mac would just be `pandoc README.md -t html | pbcopy`. If you want a docx you can get that too.

0: https://pandoc.org/


Replies

letientai299today at 1:33 PM

I need the rendered content, not the plain text HTML. As mentioned in the README, I used pandoc in a previous version of the tool, but its output isn’t good looking for my use case.

show 1 reply