Scribble: The Racket Documentation Tool
docs.racket-lang.org
docs.racket-lang.org
Scribble-style markup languages aren't "markup", they're merely a series of reader macros on top of a full lisp!
Lisp I tell you! It's wonderful when you compare it to markdown/rst or those horrifying template languages.
The main issue is, of course, that now you need to be running Racket on your machine as well when deploying. I'm sure it's possible to embed Racket, but I don't really hear about that happening so assume it's a bit tricky.
I haven't looked at it recently, but the last time I tried embedding Racket it wasn't terribly difficult compared to, say, Python or Perl, but it also wasn't quite as nice as embedding, say, Lua or Tcl. I've found its embedding interface to be fairly similar to other interpreted Scheme systems, such as Guile or Chibi.
As an aside, I too mostly code R but love Racket. Learning a bit of Racket is what unlocked R for me.
Racket project for me are one's that simplify one sub-domain and do that well.
My idea was a scrapping and munging language in Racket. One that could be used with OpenRefine and spit out R code.
Except, unlike LaTeX, you have a sane programming language instead of hairy macros.
Pollen takes Scribble and strips out much of the structure, leaving a very interesting core: http://docs.racket-lang.org/pollen/
He wrote Scribble to scratch his own itch...or rather remove his own pain from having to maintain LaTeX based documentation for Racket/MzScheme. To me, the proof is in the pudding: Racket's documentation is exceptionally good pretty much from top to bottom despite the breadth of projects that fall within the standard download.
Startups and other hip young companies do whatever's sexy in the moment. This is the sort of tool I'd use as a consultant doing technical things, however, because I can do powerful things quickly. I mostly use org-mode, but this holds appeal too.