lib/jekyll-toc.rb in jekyll-toc-0.9.0 vs lib/jekyll-toc.rb in jekyll-toc-0.9.1

- old
+ new

@@ -11,9 +11,10 @@ # content_html = context.registers[:page].content # ::Jekyll::TableOfContents::Parser.new(content_html).build_toc # end # end + # Jekyll Table of Contents filter plugin module TableOfContentsFilter def toc_only(html) return html unless toc_enabled? ::Jekyll::TableOfContents::Parser.new(html, toc_config).build_toc