Sha256: 183bcc18caada4eedb42c123b77d8a190e5ad3b27e248420f98cd1fdb3715297
Contents?: true
Size: 544 Bytes
Versions: 3
Compression:
Stored size: 544 Bytes
Contents
# frozen_string_literal: true require 'kramdown' require 'yard' # Make new Kramdown class with Github Formatted Markdown on class KramdownGFM < Kramdown::Document def initialize(text, opts = {}) super(text, opts.merge(input: 'GFM', hard_wrap: false)) end end # Register new KramdownGFM YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS[:markdown] << { lib: :'kramdown-parser-gfm', const: 'KramdownGFM' } # Register custom templates YARD::Templates::Engine.register_template_path File.expand_path('yard/templates', __dir__)
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
eve-rails-0.1.0 | .yardext.rb |
esi-sdk-3.0.1 | .yardext.rb |
esi-sdk-3.0.0 | .yardext.rb |