A human-readable plain-text markup format

AsciiDoc is a human-readable text document format which uses plain-text mark-up convention semantically equivalent to DocBook XML.

Usage in PostgreSQL

PostgreSQL itself does not use AsciiDoc for any pariticular purpose. However, beginning with PostgreSQL 9.5 (commit 9d9991c8), the psql command line utility can optionally generate output in AsciiDoc format. See the Examples section below.


Simple example of psql output in AsciiDoc format:

postgres=# \pset format asciidoc
Output format is asciidoc.

postgres=# SELECT 1;


(1 row)



See also

DocBook XML