asciidoctor / kramdown-asciidoc

A kramdown extension for converting Markdown documents to AsciiDoc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

convert_file should honor the value of the :to option

mojavelinux opened this issue · comments

The convert_file API should allow an alternate output file to be specified using the :to option. Currently, this option is only available to the convert API. The convert_file API always writes the output to a file adjacent to the input file.

Kramdoc.convert_file 'sample.md', to: 'alternate/path/to/sample.adoc'

This issue is closely related to #39.