asciidoctor / asciidoctor-extensions-lab

A lab for testing and demonstrating Asciidoctor extensions. Please do not use this code in production. If you want to use one of these extensions in your application, create a new project, import the code, and distribute it as a RubyGem. You can then request to make it a top-level project under the Asciidoctor organization.
Other
104 stars 101 forks source link

Integrate asciidoc-coalescer.rb as extension/converter so as to make it available in the CLI #108

Closed olib963 closed 2 years ago

olib963 commented 4 years ago

There is a script (https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/scripts/asciidoc-coalescer.rb) that you can use to merge your asciidoc files into one expanded asciidoc file. To me this is useful to create READMEs etc. for github while they cannot support features such as include. It would be nice if this could be integrated into the CLI

Original issue: https://github.com/asciidoctor/asciidoctor/issues/3374

mojavelinux commented 2 years ago

The asciidoc-coalescer.rb script has been redesigned and published as the asciidoctor-reducer. It has also been released to RubyGems.org as a gem named asciidoctor-reducer. You can find installation instructions in the README for that project.