import Asciidoctor from "asciidoctor" ; const asciidoctor = Asciidoctor ( ) ; function asciidocToHTML ( content ) { return asciidoctor . convert ( content , { safe : "server" , attributes : { showtitle : "" , icons : "font@" } } ) ; } function asciidocToHTMLInline ( content ) { return asciidoctor . convert ( content , { doctype : "inline" } ) ; } export default { block : asciidocToHTML , inline : asciidocToHTMLInline , } ;