asciidoctor / asciidoctorj-diagram

AsciidoctorJ Diagram bundles the Asciidoctor Diagram RubyGem (asciidoctor-diagram) so it can be loaded into the JVM using JRuby.
Apache License 2.0
10 stars 6 forks source link

Bundle 'barby' gem to render 2D barcodes #34

Closed ahus1 closed 1 year ago

ahus1 commented 1 year ago

It would be great to have the 'barby' Ruby gem bundled into asciidoctorj-diagram, so that the following content is rendered:

Scan this with your phone: qrcode::https://my-link.tld/something[]

and doesn't show an error message like this:

org.asciidoctor.jruby.internal.AsciidoctorCoreException: org.jruby.exceptions.LoadError: (LoadError)
You are using functionality that requires the optional gem dependency `barby` which could not be
loaded. Add `gem 'barby', '~> 0.6.8'` to your Gemfile.

This was originally raised in https://github.com/asciidoctor/asciidoctor-intellij-plugin/issues/1327