Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Kidding. LaTeX is extremely powerful but also a nightmare to use and almost impossible to turn into online documentation.

htlatex: "Am I a joke to you?"

----

I can't really speak to either rST or AsciiDoc (since I don't use either of them nearly enough to be comfortable with their pros and cons), but aside from LaTeX (via htlatex or Pandoc or some similarly-useful way to export to HTML for online use), I've also seen POD ("Plain Ol' Documentation") and outright manpages as effective choices here. Both are designed specifically for documentation (in the case of POD, inline documentation), and both are demonstrably able to produce a variety of output formats, including HTML for online use.

That said, I also don't see why Markdown (or a more robustly-defined version thereof) couldn't be used to do the things rST can apparently do, especially when combined with a preprocessor (like what you'd almost certainly be using when generating documentation from e.g. source code comments like what quite a few modern programming languages support; on that note, quite a few of those languages do use Markdown for inline docs).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: