Class: YARD::Templates::Helpers::Markup::RDocMarkdown
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
RDocMarkup
|
|
Instance Chain:
self,
RDocMarkup
|
|
Inherits: |
YARD::Templates::Helpers::Markup::RDocMarkup
|
Defined in: | lib/yard/templates/helpers/markup/rdoc_markdown.rb |
Class Method Summary
Instance Attribute Summary
RDocMarkup
- Inherited
Instance Method Summary
RDocMarkup
- Inherited
#to_html, | |
#fix_dash_dash | Don't allow -- to turn into — element. |
#fix_typewriter | Fixes RDoc behaviour with ++ only supporting alphanumeric text. |
Constructor Details
.new(text) ⇒ RDocMarkdown
# File 'lib/yard/templates/helpers/markup/rdoc_markdown.rb', line 14
def initialize(text) super RDoc::Markdown.new.parse(text) end
Instance Method Details
#fix_typewriter(html)
[ GitHub ]# File 'lib/yard/templates/helpers/markup/rdoc_markdown.rb', line 18
def fix_typewriter(html) html end