Skip to content

Commit

Permalink
Updates docs/syntax/markdown.md
Browse files Browse the repository at this point in the history
Auto commit by GitBook Editor
  • Loading branch information
Nicolas Gaborit committed Mar 28, 2017
1 parent 78d947c commit 7fc1e02
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/syntax/markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,17 @@ You can create fenced code blocks by placing triple backticks ` ``` ` before and
}
```

If your code contains templating syntax such as `{{ this }}` (see [templating](/docs/templating/variables.md)), you can disable templating with a `{% raw %}` block:

{% raw %}
{% raw %}
```
<span>{{this will not be interpreted as templating}}</span>
```
{% endraw %}
{% endraw %}


##### Syntax highlighting

You can add an optional language identifier to enable syntax highlighting in your fenced code block.
Expand Down Expand Up @@ -216,7 +227,7 @@ Asterisks

### Ignoring Markdown formatting

You can tell GitBook to ignore (or escape) Markdown formatting by using `\` before the Markdown character.
You can tell GitBook to ignore (escape) Markdown formatting by using `\` before the Markdown character.

```
Let's rename \*our-new-project\* to \*our-old-project\*.
Expand Down

0 comments on commit 7fc1e02

Please sign in to comment.