Sha256: c2726c371a80103f29cc18179cea029e6544175c3c539b244430591e8084d432

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require 'yard'
require 'yard/templates/helpers/markup_helper'
require 'commonmarker/compat_renderer'

# @see https://github.com/lsegal/yard/blob/master/lib/yard/templates/helpers/markup_helper.rb#L26
YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS[:markdown] <<
  { lib: :commonmarker, const: 'CommonMarker::CompatRenderer' }
YARD::Templates::Helpers::MarkupHelper::MARKUP_PROVIDERS[:commonmark] =
  [{ lib: :commonmarker, const: 'CommonMarker::CompatRenderer' }]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yard-commonmarker-0.5.0 lib/yard/commonmarker.rb
yard-commonmarker-0.4.0 lib/yard/templates/helpers/markup_helper/commonmarker.rb
yard-commonmarker-0.3.0 lib/yard/templates/helpers/markup_helper/commonmarker.rb