Markdown supports adding inline code like this
, obtained by wrapping text in backticks:
`code here`
Alternatively, you can put your inline code between <code>
and </code>
HTML tags.
Consider the following markdown code:
`This` is an inline code block! <code>This</code> is one too!
That would produce the following output:
This
is an inline code block!This
is one too!
If you need to include a backtick inside inline code, you can use multiple backticks to begin and end the inline code block, like this:
``code containing a backtick (`) character``
That would produce the following output:
code containing a backtick (`) character
Use \
to escape backticks. For example:
\`a\`
will be rendered as
`a`