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 toolchains does not use any of the Asciidoctor engines underneath, but it provides its own pnpm-based toolchain.
-
Groovy
asciidoc {
toolchains {
downdoc {
}
}
publications {
main {
output 'downdoc', 'markdown' (1)
}
}
}
| 1 | THe default toolchain is called downdoc and the default formatter is markdown. |