Skip to content

Commit

Permalink
Merge pull request #1022 from kmuto/idgxml-notoc
Browse files Browse the repository at this point in the history
idgxmlビルダで=[notoc]および=[nodisp]をサポート
  • Loading branch information
kmuto authored Jun 11, 2018
2 parents 8012c93 + 4957ca2 commit 39dffef
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 39dffef

Please sign in to comment.