Permalink
Browse files

Better Heading styles

  • Loading branch information...
1 parent d8b9320 commit 3ae3556e2ce6e587f492b5812e4e70b512a4c0d8 @ludwigschubert committed Mar 13, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/maildown.rb
View
6 lib/maildown.rb
@@ -76,11 +76,11 @@ def wrap_node(node, contents=nil)
when 'strong'
result << "**#{contents}**"
when 'h1'
- result << "##{contents}\n"
+ result << "## {contents} ##\n"
when 'h2'
- result << "###{contents}\n"
+ result << "### {contents} ###\n"
when 'h3'
- result << "####{contents}\n"
+ result << "#### {contents} ####\n"
when 'hr'
result << "****\n"
when 'img'

0 comments on commit 3ae3556

Please sign in to comment.