Method: Glyph::Utils#titled_sections
- Defined in:
- lib/glyph/utils.rb
#titled_sections ⇒ Object
Returns a list of macro names corresponding to sections that commonly have a title
148 149 150 151 |
# File 'lib/glyph/utils.rb', line 148 def titled_sections (Glyph.macro_aliases_for(:section)+ [:section]-[:frontmatter, :bodymatter, :backmatter]).uniq end |