I want to write the following sentence:
Don't forget to escape the :code:`\`` character, it will be interpreted as code mark
But I don't know how to escape the "`
" backtick character. Is it even possible?
I want to write the following sentence:
Don't forget to escape the :code:`\`` character, it will be interpreted as code mark
But I don't know how to escape the "`
" backtick character. Is it even possible?
You cannot escape backticks within interpreted text, as backticks themselves define what gets interpreted.
There are at least two options. The latter yields the same result as if you code use :code:
with escaping the backtick.
Don't forget to escape the \` character, it will be interpreted as code mark
.. |bt| raw:: html
<code class="code docutils literal notranslate">`</code>
Don't forget to escape the |bt| character, it will be interpreted as code mark
raw:: html
will not show up in PDF (and other non-HTML) versions of the doc. –
Traps © 2022 - 2024 — McMap. All rights reserved.