Markdown Tips — Using backticks in inline code

Publicado em: 09 Janeiro 2024
no canal de: Code 2020
1,686
26

Need to write some inline code that includes a backtick? As you have probably discovered, this will end up breaking rendering and even backslash escapes can't help.

However the fix is actually easy: just use extra backticks to start and end the inline code! If your code contains just single backticks, wrap it in two backticks. If your code contains three backticks in a row, then you need to use four or more backticks to start and end the code.

It's only slightly more complicated when the inline code sample starts or ends with a backtick. To make sure these backticks are not treated as part of the start/end of the inline code itself, just add a space character at the start and end of the code. These will be stripped out during rendering

#markdown


Nesta página do site você pode assistir ao vídeo on-line Markdown Tips — Using backticks in inline code duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code 2020 09 Janeiro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,686 vezes e gostou 26 espectadores. Boa visualização!