Beautiful, Responsive Code Snippets

Black-themed, accessible, and responsive code blocks with language labels, left-side collapse icons, right-side copy, and toast feedback. Works great on desktop and mobile.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>Hello</title>
  </head>
  <body>
    <h1>Hello World</h1>
  </body>
</html>
CSS
body {
  background-color: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}
JS
function greet(name) {
  console.log("Hello, " + name);
}
greet("World");
Python
def add(a, b):
    return a + b

print(add(5, 10))
PowerShell
Write-Output "Hello PowerShell"
Bash
#!/bin/bash
echo "Hello Bash"
Node.js
const http = require('http');
http.createServer((req, res) => {
  res.end("Hello Node.js");
}).listen(3000);