You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
475 B

4 years ago
To use Asciidoctor in your application, you first need to require the gem:
[source,ruby]
require 'asciidoctor'
This statement makes all of the https://www.rubydoc.info/gems/asciidoctor/Asciidoctor[public APIs in Asciidoctor] available to your script or application.
You are now ready to start processing AsciiDoc documents.
The main entry points in the Asciidoctor API are the static methods to load or convert AsciiDoc documents, which we'll cover the next two chapters.