Enables Redcarpet extensions for YARD.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install yard-redcarpet-ext
--plugin redcarpet-ext option to your
.yardopts or call
yard with this option.
Create new file named
.yard_redcarpet_ext with all needed Redcarpet extensions like
tables separated by comma or newline.
Another way to specify extensions is setting of
YARD_REDCARPET_EXTS environment variable. Extensions should be separated by comma.
You must have
gem 'yard-redcarpet-ext' string in your Gemfile or development dependency in gemspec if it exists.
Allowed Redcarpet extensions listed at: https://github.com/vmg/redcarpet#and-its-like-really-simple-to-use
yard-redcarpet-ext enable these ones:
Removing of extensions from the list
Simply add extension to be removed to the list prefixed by minus sign, like
- 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