@asciidoctor/core
    Preparing search index...

    Function loadFile

    • Parse the contents of the AsciiDoc source file into a Document.

      Parameters

      • filename: string

        the path to the AsciiDoc source file

      • Optionaloptions: any

        a plain object of options to control processing

      Returns Promise<Document>

      • the parsed Document