import { html } from "https://esm.town/v/stevekrouse/html?v=5";
import { Hono } from "npm:hono";
const app = new Hono();
app.get("/", c => {
return c.html(
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js">
</script>
<link href="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism.min.css" rel="stylesheet">
</link>
<title>Document</title>
</head>
<body>
<div class="rounded">
<pre class="rounded"><code class="language-html"><h1>hello</h1>
<h1>hello</h1></code></pre>
</div>
</body>
</html>,
);
});
app.get("/not-jsx", c => {
return html(`
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/prism.min.js">
</script>
<link href="https://cdn.jsdelivr.net/npm/prismjs@1.29.0/themes/prism.min.css" rel="stylesheet">
</link>
<title>Document</title>
</head>
<body>
<div class="rounded">
<pre class="rounded"><code class="language-html"><h1>hello</h1>
<h1>hello</h1></code></pre>
</div>
</body>
</html>
`);
});
export default app.fetch;