The asciidoc(1)
command translates an AsciiDoc formatted file to the
backend format specified by the -b
(--backend
) command-line
option. asciidoc(1)
itself has little intrinsic knowledge of backend
formats, all translation rules are contained in customizable cascading
configuration files. Backend specific attributes are listed in the
Backend Attributes section.
.html
extension.
doc/slidy.txt
file and
online.
Backend aliases are alternative names for AsciiDoc backends. AsciiDoc comes with two backend aliases: html (aliased to xhtml11) and docbook (aliased to docbook45).
You can assign (or reassign) backend aliases by setting an AsciiDoc
attribute named like backend-alias-<alias>
to an AsciiDoc backend
name. For example, the following backend alias attribute definitions
appear in the [attributes]
section of the global asciidoc.conf
configuration file:
backend-alias-html=xhtml11 backend-alias-docbook=docbook45
The asciidoc(1)
--backend
option is also used to install and manage
backend plugins.
{asciidoc-confdir}
intrinsic attribute to
refer to the built-in backend configuration file location from
backend plugin configuration files.
{backend-confdir}
intrinsic attribute to
refer to the backend plugin configuration file location.
$HOME/.asciidoc/backends/<backend>
where <backend>
is the
backend name.