Hacker News new | ask | show | jobs
by a_petrov 692 days ago
I find myself more and more into the CLI and recently got introduced to Neovim. Decided to start learning Neovim by simply writing markdown documentation and I'd say it's even intuitive.

That works pretty good with markdown files hosted on github pages as I don't have to move out of the CLI when pushing them online.

However, the use case that this workflow doesn't cover is when I write something that I'd like to send for a proofread to a friend of mine, who's an editor. He really loves his Word files.

As I'm a noob, I asked then ChatGPT to help me with a bash script that converts that .md file into a .doc file using pandoc. That worked pretty well.

My thought was if it couldn't be possible to use something like pandoc for converting an .md file into a templated doc with headers, footers, page numbering, even toc?

That wouldn't solve 100% of the use cases, but still could be pretty good.