literate programming in D

Philippe Sigaud via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Aug 30 00:33:37 PDT 2014


On Friday, 29 August 2014 at 23:58:19 UTC, Chris Cain wrote:
> I used https://www.npmjs.org/package/literate-programming (+ 
> pandoc) to do this when writing 
> https://dl.dropboxusercontent.com/u/2206555/uniformUpgrade.pdf 
> in markdown.

Do you remember if some snippets can be hidden in the final 
documented output (I don't find that in this package)?
I know the goal of LP is to explain your code, but I remember 
using that with other systems: that's useful when you don't want 
to show some plumbing (for a tutorial for example, where you want 
to concentrate on the main suject).



More information about the Digitalmars-d-learn mailing list