mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
adba9d460c
The AsciiDoc community now regards the dialect parsed by `asciidoctor` as the official AsciiDoc syntax, so it should be the target of our `asciidoc` format. Closes #8936. The `asciidoc` output format now behaves like `asciidoctor` used to. `asciidoctor` is a deprecated synonynm. For the old `asciidoc` behavior (targeting the Python script), use `asciidoc_legacy`. The templates have been consolidated. Instead of separate `default.asciidoctor` and `default.asciidoc` templates, there is just `default.asciidoc`. Text.Pandoc.Writers.AsciiDoc API changes: - `writeAsciiDoc` now behaves like `writeAsciiDoctor` used to. - `writeAsciiDoctor` is now a deprecated synonym for `writeAsciiDoc`. - New exported function `writeAsciiDocLegacy` behaves like `writeAsciDoc` used to.
763 B
763 B
% pandoc -f docbook -t asciidoc
<informaltable frame="all" rowsep="1" colsep="1">
<tgroup cols="1">
<thead>
<row>
<entry align="left" valign="top">h1</entry>
<entry align="left" valign="top">h2</entry>
</row>
</thead>
<tbody>
<row>
<entry align="left" valign="top">
<simpara>!@#$%^&*(){}|~?+-',."<>[]\`</simpara>
</entry>
<entry align="left" valign="top">
<simpara>col 2</simpara>
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
^D
[cols=",",options="header",]
|===
|h1 |h2
|!@#$%^&*()\{}\|~?+-',."<>[]\` |col 2
|===