import { mdh } from "../../src/doc/mdh.ts" import { idnam, section } from "./section.ts" const main = document.getElementById("main") as HTMLDivElement async function tst( t: "tst" | "s8" | string ) { const md = await (await fetch(`/tst/${t}.md`)).text() const idn = [11111, 12222, 13333].map(id => [id, `${id}`]) as [number, string][] main.innerHTML = `
${mdh(md)}${idnam("联络员:", idn)}${section("简介:", md)}
` } tst(location.hash == "" ? "tst" : location.hash.substring(1))