chore: bump version to 0.2.0
A Markdown-first programmable site generator powered by MoonBit.
Write Markdown, embed interactive MoonBit components, and moonblox-cli build outputs a static site.
moonblox-cli build
See a live demo of components sharing state: Component Interaction Playground
Requires the MoonBit toolchain.
moon install xz-xuezhe/moonblox-cli moonblox-cli init my-site cd my-site moonblox-cli serve # dev server with live reload moonblox-cli build # production build
Open http://localhost:3000. Edit any Markdown file — the browser reloads automatically.
http://localhost:3000
--- title: Hello MoonBlox date: 2025-01-15 tags: [demo] --- @badge(text: "new", tone: "info") :::callout(type: "note", title: "Tip") Regular **Markdown** content here. ::: ::score_panel { count = 0 } @metric(value=count, label="Clicks") @chart(value=count, max=10, label="Progress") @counter(value=count) ::
@name(args)
:::name(args)
::name { model } body ::
To use MoonBlox as a MoonBit library:
moon add xz-xuezhe/moonblox
Full docs at xz-xuezhe.github.io/moonblox:
Apache 2.0
MoonBit-native programmable site generator with interactive components
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802047560号
MoonBlox
A Markdown-first programmable site generator powered by MoonBit.
Write Markdown, embed interactive MoonBit components, and
moonblox-cli buildoutputs a static site.Try It
See a live demo of components sharing state: Component Interaction Playground
Quick Start
Requires the MoonBit toolchain.
Open
http://localhost:3000. Edit any Markdown file — the browser reloads automatically.Examples
@name(args)— embed a component anywhere in a line:::name(args)— wrap Markdown content in a component::name { model } body ::— share state across multiple componentsLibrary
To use MoonBlox as a MoonBit library:
Documentation
Full docs at xz-xuezhe.github.io/moonblox:
License
Apache 2.0