aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/txt_markdown.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v5/txt_markdown.rb')
-rw-r--r--lib/sisu/v5/txt_markdown.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sisu/v5/txt_markdown.rb b/lib/sisu/v5/txt_markdown.rb
index 96aca820..8b081349 100644
--- a/lib/sisu/v5/txt_markdown.rb
+++ b/lib/sisu/v5/txt_markdown.rb
@@ -368,6 +368,7 @@ WOK
def heading_decorated_inline(dob)
if dob.is==:heading
heading_inline = case dob.lc
+ when 0 then decorate.heading.inline.l0
when 1 then decorate.heading.inline.l1
when 2 then decorate.heading.inline.l2
when 3 then decorate.heading.inline.l3
@@ -382,6 +383,7 @@ WOK
if dob.is==:heading
#times=@wrap_width if times > @wrap_width
case dob.lc
+ when 0 then decorate.heading.underscore.l0*times + p_num << break_line*2
when 1 then decorate.heading.underscore.l1*times + p_num << break_line*2
when 2 then decorate.heading.underscore.l2*times + p_num << break_line*2
when 3 then decorate.heading.underscore.l3*times + p_num << break_line*2