How to generate PDF from markdown using pure ruby

后端 未结 4 858
野趣味
野趣味 2020-12-30 00:08

I\'m currently using Kramdown to generate HTML from Markdown in Ruby. I know that I can generate a latex file using kramdown and convert it to pdf usaing a command line util

4条回答
  •  猫巷女王i
    2020-12-30 00:41

    You can use https://github.com/walle/gimli

    I made it just for this purpose. Though, I use textile. But gimli supports all formats supported by GitHub-Markup.

提交回复
热议问题