title: | My Simple MOIrkdown Blog | ||||
---|---|---|---|---|---|
description: | A minimal markdown blog template for Val Town | ||||
author: | dcm31 | ||||
date: | 2025-04-26 | ||||
url: | https://dcm31--45d1947422b711f0be5c569c3dd06744.web.val.run | ||||
imageUrl: | https://chatgpt.com/backend-api/public_content/enc/eyJpZCI6Im1fNjgwZDBjYzQxYTcwODE5MWFlZTZmNzhjZmJjNGVhNGQ6ZmlsZV8wMDAwMDAwMDU0MTg2MWY2YTRiOWMxOWE3NTA4Yjk5NCIsInRzIjoiNDg0OTEyIiwicCI6InB5aSIsInNpZyI6IjFhODc1NDE1ZjJkNmNlM2EwYjY4YjMzYmZhYTIwMDM2YmIzMWI5NjU2YWYzZTdkYmM2N2IxOWRmMzdlZjliYzIiLCJ2IjoiMCIsImdpem1vX2lkIjpudWxsfQ== | ||||
tags: |
|
This minimal blog template allows you to create beautiful blog posts using just markdown in your moi.md file. It's designed to work seamlessly with the build.moi platform for Val Town.
This blog automatically renders the content of your moi.md
file. It supports all standard markdown features:
The template includes several nice features:
The blog uses YAML frontmatter at the top of your moi.md file to configure your post. Here's what each field does:
--- title: "Your Blog Post Title" description: "A brief description of your post" author: "Your Name" date: "YYYY-MM-DD" url: "Your live blog URL" imageUrl: "Cover image URL (2:3 ratio works best)" tags: ["tag1", "tag2", "tag3"] ---
The url
field is particularly important as it allows build.moi to link directly to your blog from the Posts tab.
To use this template for your own blog:
Here are a few more markdown examples to show the styling:
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet('Val Town User'));
The best way to predict the future is to invent it.
— Alan Kay
Feature | Supported |
---|---|
Headings | ✅ |
Lists | ✅ |
Code blocks | ✅ |
Images | ✅ |
Tables | ✅ |
You can include images using standard markdown syntax:
This template is designed to work perfectly with the build.moi platform. When your blog is displayed in the build.moi grid, it will:
imageUrl
fieldFeel free to modify this template to suit your needs. You can customize the styling by editing the main.tsx file or change the structure of your blog post by altering the moi.md file.
Happy blogging on Val Town!