Code Fence

Definition

A code fence is a markdown syntax for creating code blocks using triple backticks (```).

Code fences can include a language identifier for syntax highlighting. Without a language identifier, the code is displayed as plain text.

Code fences are part of GitHub Flavored Markdown (GFM) and are supported by most markdown renderers.

Example

```javascript
const x = 1;
```

Try markshare Free

Share markdown as beautiful webpages in 3 seconds.

Get Started

Try Our Tools