LHS and Markdown: Codeblocks

前端 未结 1 733
时光说笑
时光说笑 2021-02-12 22:52

I happen to really like Markdown (probably because of SO) and I like programming in Haskell. I have recently discovered Literate Haskell (LHS) and I want to use Markdown and LHS

相关标签:
1条回答
  • 2021-02-12 23:14

    Use Pandoc. It has a markdown+lhs mode for using markdown in literal Haskell files, and if you don't like the html it produces, there is an api for modifying the document structure.

    Install it with

    cabal install pandoc
    
    0 讨论(0)
提交回复
热议问题