Class: ContentFS::Renderers::Markdown::Code Private

Inherits:
Object
  • Object
show all
Defined in:
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: SyntaxRenderer

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.



13
14
15
# File 'lib/contentfs/renderers/markdown/code.rb', line 13

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