Hacker News new | ask | show | jobs
by yanis_t 1842 days ago
Thanks for a fantastic post. I've actually wrote a single tech book in my life, and found Pandoc to be really indispensable.

For example, while writing a book about Vim* I simply used markdown and Pandoc would allow me to translate it to all the different e book formats.

Pandoc supports syntax highlighting out of the box. Unfortunately, there wasn't one for VimL, so I had to implement it myself, but Pandcon would allow me to extend it.

I wonder if that's possible with Scrivener? Does it even support syntax highlighting?

* https://www.vimfromscratch.com/book

1 comments

I don't think it does, but you can use scrivener in markdown mode and it's built so that it's smart about how it saves so you can pop back and forth between Scrivener and Vim (or whatever) pretty smoothly, synching files and using git. As far as polished pretty end user apps go, they've put a lot of thought into making it play well with others.