Index: asciidoc.conf =================================================================== --- asciidoc.conf (revision 53) +++ asciidoc.conf (working copy) @@ -62,9 +62,9 @@ __=#emphasis ++=#monospaced \##=#unquoted -endif::asciidoc7compatible[] ^=#superscript ~=#subscript +endif::asciidoc7compatible[] [specialwords] emphasizedwords= Index: xhtml11.conf =================================================================== --- xhtml11.conf (revision 53) +++ xhtml11.conf (working copy) @@ -22,6 +22,12 @@ \$=\$ `=\` endif::asciimath[] +ifdef::asciidoc7compatible[] +# Superscripts. +\^(.+?)\^=\1 +# Subscripts. +~(.+?)~=\1 +endif::asciidoc7compatible[] [ruler-blockmacro]
Index: docbook.conf =================================================================== --- docbook.conf (revision 53) +++ docbook.conf (working copy) @@ -18,6 +18,12 @@ [replacements] # Line break markup is dropped (there is no DocBook line break tag). (?m)^(.*)\s\+$=\1 +ifdef::asciidoc7compatible[] +# Superscripts. +\^(.+?)\^=\1 +# Subscripts. +~(.+?)~=\1 +endif::asciidoc7compatible[] [ruler-blockmacro] # Only applies to HTML so don't output anything. Index: html4.conf =================================================================== --- html4.conf (revision 53) +++ html4.conf (working copy) @@ -18,6 +18,12 @@ [replacements] # Line break. (?m)^(.*)\s\+$=\1
+ifdef::asciidoc7compatible[] +# Superscripts. +\^(.+?)\^=\1 +# Subscripts. +~(.+?)~=\1 +endif::asciidoc7compatible[] [ruler-blockmacro]