ije / md4w

A Markdown renderer written in Zig & C, compiled to WebAssymbly.
MIT License
58 stars 0 forks source link

feature: add render page mode #9

Open ije opened 6 months ago

ije commented 6 months ago
---
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>