This page demonstrates simple syntax highlighting using Prism.js.
// This is a comment
function greet(name) {
const message = `Hello, ${name}!`;
console.log(message);
}
greet("Terry");
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Sample Page</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>
body {
background-color: #1e1e1e;
color: #d4d4d4;
font-family: "Segoe UI", sans-serif;
}
h1 {
color: #4ec9b0;
}