LHS and Markdown: Codeblocks

前端 未结 1 736
时光说笑
时光说笑 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)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题