module Garage module Docs class TocRenderer < ::Redcarpet::Render::HTML_TOC include ConsoleLinkBuilding include AnchorBuilding def header(text, header_level) return if header_level > 2 %'
  • #{text} #{build_console_link(text)}
  • ' end end end end