Basic Code Block

Simple code blocks for displaying code snippets without advanced features like line highlighting or offsets.

Syntax

Use triple backticks with a language identifier:

```javascript
const message = "Hello World";
```

Examples

API Request Example

curl -i -X POST 'https://api.example.com/graphql' \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer [access_token]' \
    -d '{"query": "{ users { id name } }"}'

Command Examples

npm install
npm start

JavaScript Example

function greet(name) {
    return `Hello, ${name}!`;
}

console.log(greet("World"));