Notice that \inlinec{\n} represents only a single character.
An escape sequence like \inlinec{\n} provides
a general and extensible mechanism for representing
hard-to-type or invisible characters.
Among the others that C provides are \inlinec{\t} for tab,
\inlinec{\b} for backspace,
\inlinec{\"} for the double quote,
and \inlinec{\\} for the backslash itself.
There is a complete list in Section 2.3.
将产生
在上面的例子中,高亮显示无法正常工作。因此,我们应该向 ConTeXt 提供更多信息。
是否可以做一些事情,例如\codecontext{printf("text\inline{\n}");}
为“\n”、“\t”、“\b”等产生正确的突出显示?