import { join } from "path"
import { NOSE_DATA } from "@/config"
import { highlightToHTML } from "../lib/highlight"

export default async function () {
  return highlightToHTML(await Bun.file(join(NOSE_DATA, "state.json")).text())
}