New Docs
On this page

Wrap code in triple backticks and name the language after the opening fence.

```go
package main

func main() {
	println("hello docs")
}
```

The result:

package main

func main() {
	println("hello docs")
}

Inline code

Use single backticks for short code inside a sentence, such as npm install.

Last updated