Class: PersonalBlog::ApplicationHelper::HTML
- Inherits:
-
Redcarpet::Render::HTML
- Object
- Redcarpet::Render::HTML
- PersonalBlog::ApplicationHelper::HTML
- Includes:
- Rouge::Plugins::Redcarpet
- Defined in:
- app/helpers/personal_blog/application_helper.rb
Instance Method Summary collapse
Instance Method Details
#rouge_formatter(opts = {}) ⇒ Object
11 12 13 14 |
# File 'app/helpers/personal_blog/application_helper.rb', line 11 def rouge_formatter(opts={}) opts = { inline_theme: nil } Rouge::Formatters::HTML.new(opts) end |