LoginSignup
0
0

More than 5 years have passed since last update.

kramdown gemでhard wrapを有効にする

Last updated at Posted at 2016-08-17

https://github.com/gettalong/kramdown
これのこと

http://kramdown.gettalong.org/options.html
optionsを見るにGFMパーサを使うように設定すれば良いらしいが設定方法が分からない...orz

Kramdown::Document.new(text, input: 'GFM', hard_wrap: true).to_html

issueを探してたらあった!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0