Module YARD::Generators::Helpers::HtmlHelper
In: lib/yard/generators/helpers/html_helper.rb

Methods

Included Modules

MarkupHelper HtmlSyntaxHighlightHelper

Constants

SimpleMarkupHtml = RUBY19 ? RDoc::Markup::ToHtml.new : SM::ToHtml.new

Public Instance methods

Don‘t allow — to turn into &8212; element. The chances of this being some —option is far more likely than the typographical meaning.

@todo Refactor into own SimpleMarkup subclass

@todo Refactor into own SimpleMarkup subclass

Formats a list of types from a tag.

@param [Array<String>, FalseClass] typelist

  the list of types to be formatted.

@param [Boolean] brackets omits the surrounding

  brackets if +brackets+ is set to +false+.

@return [String] the list of types formatted

  as [Type1, Type2, ...] with the types linked
  to their respective descriptions.

[Validate]