You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Asciidoc uses single and double underscores for italic text. Many occurrences of __dunder__ names need to be fixed in the .adoc files by replacing each _ with _, the escape code for _. For example: __dunder__. 馃槬
PS. The proprietary O'Reilly asciidoc toolchain doesn't use the double underscore for italic to avoid issues with __dunder__ notation, since they publish lots of books about Python. But in this site I use Asciidoctor, so this became an issue as I moved content from the book.
The text was updated successfully, but these errors were encountered:
I found a better way to fix this: replace __xyz__ with +__xyz__+. Note: in both cases we need backticks around the whole string including the + signs, to render with a fixed-width code font in asciidoc.
I've done that in several places, but if you still find dunder method names rendering as italic without the underscores, please submit a PR with the fix described in this comment. Thanks!
Asciidoc uses single and double underscores for italic text. Many occurrences of
__dunder__
names need to be fixed in the.adoc
files by replacing each_
with_
, the escape code for_
. For example:__dunder__
. 馃槬PS. The proprietary O'Reilly asciidoc toolchain doesn't use the double underscore for italic to avoid issues with
__dunder__
notation, since they publish lots of books about Python. But in this site I use Asciidoctor, so this became an issue as I moved content from the book.The text was updated successfully, but these errors were encountered: