Module: MarkdownUI::Renderers::DoubleEmphasis
- Included in:
- MarkdownUI::Renderer
- Defined in:
- lib/markdown-ui/renderers/double_emphasis.rb
Instance Method Summary collapse
Instance Method Details
#double_emphasis(text) ⇒ Object
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/markdown-ui/renderers/double_emphasis.rb', line 4 def double_emphasis(text) @text = text html do case combined_elements when /button/i when /input/i render_input when /menu/i when /message/i when /tag/i render_tag when /header/i render_header end if content end end |