/*** UTILITY ------------------------------------------ ***/ import { author, description, title, url } from "src/utility/constant.ts"; import headerParser from "src/helper/parse-header.ts"; /*** EXPORT ------------------------------------------- ***/ export default (type: "memo" | "remark", memo: string, recents: string) => { const { abstract, /*category,*/ document, title: documentTitle } = headerParser(memo); return ` ${title} • ${String(documentTitle).toLowerCase()}
[homepage|forum|cv] ${document} [text|html] ${type === "memo" ? `[remarks]` : `[memos]`}
              ${memo}
            
`; }