Import library
require 'asciidoctor' # (1)
Use library
doc = Asciidoctor::Document.new('Hello, World!') # (2)
puts doc.convert # (3)
  1. Describe the first line

  2. Describe the second line

  3. Describe the third line