Method: JsDuck::MetaTag#to_html
- Defined in:
- lib/jsduck/meta_tag.rb
#to_html(contents) ⇒ Object
Override this to transform the content of meta-tag to HTML to be included into documentation.
It gets passed the value returned by #to_value method. It should return an HTML string to inject into document. For help in that it can use the #format method to easily support Markdown and @link/img tags inside the contents of meta-tag.
By default the method returns nil, which means the tag will not be rendered at all.
64 65 |
# File 'lib/jsduck/meta_tag.rb', line 64 def to_html(contents) end |