Adds or updates chapter numbers to markdown file. Currently only support up to 4 levels of headings.
Add this line to your application's Gemfile:
gem 'markdown_chapter_numbers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install markdown_chapter_numbers
$ update_markdown_chapter_numbers INPUT_FILENAME OUTPUT_FILENAME
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request