Module: Texas::Template::Helper::Markdown
- Included in:
- Runner::Markdown
- Defined in:
- lib/texas/template/helper/md.rb
Instance Method Summary collapse
- #bold(text) ⇒ Object (also: #b)
- #h1(*args) ⇒ Object
- #italic(text) ⇒ Object (also: #i)
Instance Method Details
#bold(text) ⇒ Object Also known as: b
7 8 9 |
# File 'lib/texas/template/helper/md.rb', line 7 def bold(text) "**#{text}**" end |
#h1(*args) ⇒ Object
12 |
# File 'lib/texas/template/helper/md.rb', line 12 def h1(*args); "# #{args}"; end |
#italic(text) ⇒ Object Also known as: i
17 18 19 |
# File 'lib/texas/template/helper/md.rb', line 17 def italic(text) "*#{text}*" end |