How to display triple backlinks as a built-in code block in Markdown?

I am writing a GitHub tutorial about Markdown using Markdown, and I want to write `` `, but appear as an inline code block, for example this.

+4
source share
3 answers

The syntax rules are very clear:

To include an alphabetic character for the return line within the code, you can use multiple return outputs as dividers for opening and closing:

``There is a literal backtick (`) here.``

which will produce this:

<p><code>There is a literal backtick (`) here.</code></p>

, , - , . :

A single backtick in a code span: `` ` ``

A backtick-delimited string in a code span: `` `foo` ``

:

<p>A single backtick in a code span: <code>`</code></p>

<p>A backtick-delimited string in a code span: <code>`foo`</code></p>

, , , , , , . , , , , , . ( ), .

, :

foo ` ``` ` bar

<p>foo <code>```</code> bar</p>

- ( ) , ( ) . , :

foo ```` ``` ```` bar

, Markdown, , . HTML, :

foo <code>```</code> bar

<p>foo <code>```</code> bar</p>
+7

Waylan , :

, ,

, , 4 backticks :

, : ```` ``` ````

: ```

+1

, , ( chunk) RMarkdown/Knitr, `r ''`.

, RMarkdown, , , , , , ( 4- , ):

    `r ''````{r mychunk, echo=TRUE, eval=TRUE}
    1+1
    `r ''````

```{r mychunk, echo=TRUE, eval=TRUE}
1+1
```

(PDF, HTML ..). , , .

0

Source: https://habr.com/ru/post/1612331/


All Articles