Creating a TOC in markdown files using DocToc

I was hoping there was a RubyMine plugin for adding a TOC in a markdown file.

The best I could find was:

I also want to have a page title using the level 1 heading…

So the command I use is:

doctoc README.md --github