Method: Fdoc::BasePresenter#render_markdown
- Defined in:
- lib/fdoc/presenters/base_presenter.rb
#render_markdown(markdown_str) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/fdoc/presenters/base_presenter.rb', line 23 def render_markdown(markdown_str) if markdown_str Kramdown::Document.new(markdown_str, :entity_output => :numeric).to_html else nil end end |