|
Important
|
This page if for users upgrading from a previous version of Asciidoctor to the latest stable version of Asciidoctor. If your migrating from AsciiDoc.py, see asciidoc-py.html. |
When you upgrade Asciidoctor you may also need to update some of the syntax and attributes in your AsciiDoc documents. Major version releases can include new AsciiDoc syntax capabilities as well as syntax changes that make it more consistent.
The syntax, attributes, and commands listed below have been updated or deprecated. In most cases, they’ve been replaced with a new feature that provides improved functionality.
| Feature | Deprecated | New | Notes |
|---|---|---|---|
italic text |
'italic text' |
_italic text_ |
Allowed with |
|
+monospace text+ |
`monospace text` |
Allowed with |
|
`literal monospace text` |
`+literal monospace text+` |
Allowed with |
Curved “double quotes” |
``double quotes'' |
"`double quotes`", editor keybinding, or Unicode character in numeric character reference form |
|
Curved ‘single quotes’ |
`single quotes' |
'`single quotes`', editor keybinding, or Unicode character in numeric character reference form |
| Feature | Deprecated | New | Notes |
|---|---|---|---|
Scrollable, left margin TOC |
|
|
|
TOC location |
|
|
|
User-specified TOC location |
|
|
| Feature | Deprecated | New | Notes |
|---|---|---|---|
Two-line style (setext) document title |
|
|
Asciidoctor accepts the two-line heading style to set the document title.
But, by using it, |
| Feature | Deprecated | New |
|---|---|---|
Render class method |
|
|
Visit ROOT:whats-new.html for a complete list of new Asciidoctor features.