Shiki Test
Code blocks should render with VS Code-quality Tokyo Night syntax highlighting.
TypeScript
interface Page {
id: string;
slug: string;
html: string;
}
async function createPage(slug: string, html: string): Promise<Page> {
const highlighted = await processCodeBlocks(html);
return db.insert({ slug, html: highlighted });
}
Bash
cd /my-project
bun run build
npx wrangler deploy --minify
SQL
SELECT p.slug, p.title, COUNT(a.id) as asset_count
FROM pages p
LEFT JOIN page_assets a ON a.page_id = p.id
WHERE p.public = 1
GROUP BY p.id
ORDER BY asset_count DESC;