サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
災害への備え
crabonature.pl
Redcarpet It's a free Ruby library for Markdown created by Vicent Martí. See to use Redcarpet put in Gemfile: gem 'redcarpet' to install: $ bundle define method in ./app/helper/application_helper.rb: def markdown(text) render_options = { # will remove from the output HTML tags inputted by user filter_html: true, # will insert <br /> tags in paragraphs where are newlines # (ignored by default) ha
Rouge It's free and open source gem written by Jay Adkisson in pure Ruby with no other dependencies, so there is no need for any bridge like in Pygments. But generated HTML is fully compatible with pygments stylesheets. Supports many languages and is still in active development. See It's quite fast. If you want to check comparison with other highlighters. See Rouge with Redcarpet For Redcarpet in
このページを最初にブックマークしてみませんか?
『crabonature.pl』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く