const asciidoctor = require('asciidoctor')()
const registry = asciidoctor.Extensions.create()
require('./love-footer-docinfo-processor.js')(registry)
const html = asciidoctor.convertFile('sample-love-doc.adoc', { 'to_file': false, 'extension_registry': registry })
console.log(html)