Because markdown knows about code in two ways, which differs by implementation, I have to ask which you want to use.

Do you want to mark code by indenting it or by fencing it?

As far as I remember the documentation, fenced code blocks should be possible where indented are not.

But how exactly I had to search again.

Am 05.06.2014 00:58 schrieb "Dimitri DeFigueiredo" <defigueiredo@ucdavis.edu>:
Hi All,

Is there a way to use literate haskell with GHC using Markdown but *not* using the Bird style for the code?
It seems either one uses Bird style or has to put latex style \begin{code} markup (which markdown doesn't hide)

In other words, is there a way to mark up the code in Markdown in a way that GHC understands without having to preprocess the file? I just wanted to write a .lhs file in markdown like I write a .hs file today.

Thanks,

Dimitri
_______________________________________________
Beginners mailing list
Beginners@haskell.org
http://www.haskell.org/mailman/listinfo/beginners