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

tabbed-code extension #112

Closed maxandersen closed 2 years ago

maxandersen commented 4 years ago

This is a straight up port of https://github.com/bmuschko/asciidoctorj-tabbed-code-extension to ruby.

You can test it by running:

asciidoctor -r ./lib/tabbed-code.rb lib/tabbed-code/sample.adoc; open lib/tabbed-code/sample.html

mojavelinux commented 3 years ago

I encourage you to turn this into a project and distribute it as a RubyGem. That way it can be properly maintained.