silverwolf-x's picture
download
raw
214 Bytes
import { remark } from "remark";
import html from "remark-html";
export default async function markdownToHtml(markdown) {
const result = await remark().use(html).process(markdown);
return result.toString();
}

Xet Storage Details

Size:
214 Bytes
·
Xet hash:
e99185dc245cb703dc6ea4e059df0d5f54e3cb82da63354aae0832bf70ed143f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.