Use the <code> element for inline code.

Install packages with npm install and run with npm start.

function example() {
    return 'Plain code block';
}
function greet(name) {
    return `Hello, ${name}!`;
}

const result = greet('World');
console.log(result);
{
    "name": "Pure Admin",
    "version": "1.0.0",
    "theme": "corporate",
    "features": [
        "responsive",
        "themeable",
        "lightweight"
    ]
}
<div class="pa-card">
    <div class="pa-card__header">
        <h3>Card Title</h3>
    </div>
    <div class="pa-card__body">
        Content here
    </div>
</div>
.pa-btn {
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    background-color: #3b82f6;
    color: #ffffff;
}
$ npm install
$ npm run build
$ npm start

Server running on port 3000...
SELECT users.name, orders.total
FROM users
INNER JOIN orders
    ON users.id = orders.user_id
WHERE orders.status = 'completed'
ORDER BY orders.total DESC;
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)

print(fibonacci(10))
server.js
const express = require('express');
const app = express();

app.get('/', (req, res) => {
    res.send('Hello World!');
});

app.listen(3000);
package.json
{
    "name": "my-app",
    "version": "1.0.0",
    "scripts": {
        "start": "node server.js",
        "dev": "nodemon server.js"
    }
}
const x = 42;
print("Hello World")
console.log('JavaScript');
{"language": "JSON"}
<div>HTML</div>
.class { color: blue; }
$ echo "Bash"
SELECT * FROM table;
print("Python")