Sha256: 2a97b3372a411f13ab171c41743a72fa3803d146d379ee06fb6e05ab58e11a1b
Contents?: true
Size: 634 Bytes
Versions: 2
Compression:
Stored size: 634 Bytes
Contents
require 'redcarpet' require 'rouge' require 'rouge/plugins/redcarpet' module CabbageDoc module Markdown class HighlightedHTML < Redcarpet::Render::HTML include Rouge::Plugins::Redcarpet end class << self def new Redcarpet::Markdown.new( HighlightedHTML.new, tables: true, fenced_code_blocks: true, disable_indented_code_blocks: true, autolink: true, no_intra_emphasis: true, strikethrough: true, space_after_headers: true, with_toc_data: true, hard_wrap: true ) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cabbage_doc-0.1.4 | lib/cabbage_doc/markdown.rb |
cabbage_doc-0.1.3 | lib/cabbage_doc/markdown.rb |