Skip to content

Commit

Permalink
support =[notoc] and =[nodisp] on idgxml builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuto committed Jun 11, 2018
1 parent 4846667 commit 4957ca2
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/review/idgxmlbuilder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -770,6 +770,19 @@ def nonum_begin(level, _label, caption)
def nonum_end(level)
end

def notoc_begin(level, _label, caption)
puts %Q(<title aid:pstyle="h#{level}">#{compile_inline(caption)}</title>)
end

def notoc_end(level)
end

def nodisp_begin(level, label, caption)
end

def nodisp_end(level)
end

def circle_begin(_level, _label, caption)
puts %Q(<title aid:pstyle="smallcircle">&#x2022;#{compile_inline(caption)}</title>)
end
Expand Down

0 comments on commit 4957ca2

Please sign in to comment.