如何在asciidoc中将单词的一部分设为斜体

How to italicize part of a word in asciidoc

我希望单个单词中的几个字符在 asciidoc 中显示为斜体

我试过使用

with_emphasis_

但是 asciidoc 不解释这个。有没有办法只强调上面单词中的字符,而不用在 asciidoc 中将它们分成单独的单词?

您需要使用 "unconstrained" 标记来强调部分单词:

with__emphasis__

参见:https://asciidoctor.org/docs/user-manual/#when-should-i-use-unconstrained-quotes