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
Create DocinfoProcessor for embedding JavaScript files in HTML output #31
Create a DocinfoProcessor extension for embedding JavaScript files in generated HTML output.
For example:
Converts into :
The
javascripts
attribute can be a comma-separated list of paths. We may also want to specify the location of the JavaScript file explicitly.The default should probably be header.