Filename extension changed by default when upgrading to asciidoctor 2
Posted by dsyer on Apr 02, 2019; 12:25pm
URL: https://discuss.asciidoctor.org/Filename-extension-changed-by-default-when-upgrading-to-asciidoctor-2-tp6822.html
I was using asciidoctor 1.5.4 quite happily, and doing `Asciidoctor.render_file(fname, options)` with a custom backend. It worked fine and spat out `file.adoc` to `file.html` just as I needed. When upgrading to asciidoctor 2.0 I found that unless I used `:to_file => true` in the options the output didn't come to a file any more. But once I fixed that the filename is wrong because the extension is not "html". How do I change the output filename?