a markdown snippet engine

Write markdown once.

Index it at build time.

Render it anywhere.

mark↓ is a tiny snippet engine for structured Markdown content with build-time indexing, runtime fetching, and clean HTML rendering. It's framework-agnostic with optional Angular & React adapters.

Markdown

---
slug: getting-started
title: Getting Started
tags: [intro]
---
# Getting started
Some copy in **Markdown**.

Indexed snippet

{
  "slug": "getting-started",
  "title": "Getting Started",
  "tags": ["intro"],
  "path": "guide/getting-started.md",
  "group": "guide"
}

Written HTML

<div data-snippet="getting-started"></div>

Rendered HTML

<div>
  <h1>Getting started</h1>
  <p>Some copy in <strong>Markdown</strong>.</p>
</div>
npm i @mzebley/mark-down