Converting to Markdown with Downdoc

With the 5.0 release, there is now the ability to convert Asciidoc to Markdown using the Downdoc tool. This toolchain does not use any of the Asciidoctor engines underneath, but it provides its own pnpm-based toolchain. It is available via the org.asciidoctor.downdoc plugin.

  • Groovy

plugins {
    id 'org.asciidoctor.downdoc' version '5.1.0'
}

asciidoc {
    toolchains {
        downdoc {

        }
    }

  publications {
    main {

        output 'downdoc', 'markdown' (1)
    }

  }
}
1 The default toolchain is called downdoc and the default formatter is markdown.