ruby - How to pass options via Rake to Yard to Kramdown to use GFM -


i've gem i've produced docs written github flavoured markdown (gfm) take advantage of syntax highlighting.

unfortunately, github decided use own syntax code block fencing (three backticks) yardoc parse correctly i've chosen kramdown parser, supports gfm.

on top of that, when push code rubygems documentation generated running rake task (as far understand). need find way tell yard use kramdown gfm parser, via rake.

kramdown selects parser via -i switch:

$ bin/kramdown --help  command line options:      -i, --input arg           specify input format: kramdown (default), html, gfm or markdown 

but don't know how yard pass that, either via yard binary or through rake. suppose possible creating yardoc plugin, i've never done , not sure if work, , seems things getting out of hand @ point!

what i'd really markdown standard this, that's not question unfulfilled desire… i'm not sure stackoverflow can much.

any appreciated.


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -