md4w icon indicating copy to clipboard operation
md4w copied to clipboard

feature: add render page mode

Open ije opened this issue 2 years ago • 2 comments

---
title: Hello World
desc: Hello world!
slug: hello-world
cover: /images/hello-world.png
---

![Cover]({cover})

# {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>

ije avatar Feb 19 '24 21:02 ije

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.

pi0 avatar May 28 '25 16:05 pi0

{ contents: string, meta: Record<string, unknown>}

makes sense

ije avatar May 28 '25 17:05 ije