>> You just have to "escape" it, like in texidocs:
>>
>> @code{\\textMark} et @code{\\textEndMark}
>>
>>
>> I'll prepare a MR later today for text.itely.
> 
> If I do that, the backslash does appear in HTML, but there are two
> backslashes in the PDF.

We could define a macro `@bscode`, to be used in `@warning` only.  Add
the following to `common-macros.itely`

```
@macro bscode{TEXT}
@code{\\\TEXT\}
@end macro
```

and use it as follows.

```
@warning{This is a warning with the @bscode{foo} command.}
```


    Werner

Reply via email to