Class: ContentFS::Renderers::Markdown Private

Inherits:
Object
  • Object
show all
Defined in:
lib/contentfs/renderers/markdown.rb,
lib/contentfs/renderers/markdown/code.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Classes: Code, ContentFSRenderer

Class Method Summary collapse

Class Method Details

.render(content) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



10
11
12
# File 'lib/contentfs/renderers/markdown.rb', line 10

def render(content)
  renderer.render(CommonMarker.render_doc(content))
end