I have a blog written in Astro and I write my posts in markdown. I'm having troubles using remark and remark-html to pass my md tags (such as ##) when I render the post.
async function remarkContent(content) {
const file = await remark()
.use(remarkHtml)
.process(content);
return content;
}
I have tried this function and then pass it to an Html fragment but it does not work