Module: MarkdownUI::Renderers::List
- Included in:
- MarkdownUI::Renderer
- Defined in:
- lib/markdown-ui/renderers/list.rb
Instance Method Summary collapse
Instance Method Details
#list(content, list_type) ⇒ Object
4 5 6 7 |
# File 'lib/markdown-ui/renderers/list.rb', line 4 def list(content, list_type) klass = "ui #{list_type}" html { MarkdownUI::Content::List.new(content, klass, list_type).render } end |