md4w
md4w copied to clipboard
feature: add render page mode
---
title: Hello World
desc: Hello world!
slug: hello-world
cover: /images/hello-world.png
---

# {title}
Hello world!
👇
<html>
<head>
<title>Hello World</title>
<meta name="description" content="Hello world!">
</head>
<body>
<p><image alt="Cover" src="/images/hello-world.png"></p>
<h1>Hello World</h1>
<p>Hello world!<p>
</body>
</html>
Do you think it would also be possible that the page meta is returned as a result like { contents: string, meta: Record<string, unknown>} could be super useful for custom templates without needing to parse meta in JS.
{ contents: string, meta: Record<string, unknown>}
makes sense