@asciidoctor/core - v4.2.1
    Preparing search index...

    Function getCoreVersion

    • Get Asciidoctor core version number.

      Asciidoctor.js is no longer transpiled from Asciidoctor (Ruby) but tracks its unreleased main branch, so this value is only approximate (2.1.0-alpha.0, the version declared on Ruby main, in semver format).

      Returns string

      • the version of Asciidoctor (Ruby) that Asciidoctor.js tracks

      Use getVersion instead. This function will be removed in a future major version.