Nizel
Nizel is a Markdown content processor for modern applications.
It turns Markdown into structured content your app can use: rendered output, frontmatter, table of contents, headings, links, images, plain text, excerpts, reading time, and an AST.
Quick Start
import { useNizel } from 'nizel';
const nizel = useNizel();
const { result, html, meta, toc } = await nizel(`
---
title: Hello World
description: My first Nizel page
---
# {{ meta.title }}
Welcome to **Nizel**.
`);
Why Nizel
Most Markdown parsers answer one question:
How do I turn Markdown into HTML?
Nizel answers a more useful application-level question:
How do I turn Markdown into structured content my app can use?
Markdown in real products usually needs more than HTML. It needs metadata, frontmatter, slugs, anchors, TOC generation, custom blocks, design-system classes, safe links, variables, filters, and plugin-based extension points.
Nizel provides those things as one predictable pipeline.
What You Get
- Markdown to HTML
- Frontmatter extraction
- Typed metadata
- Template variables with built-in filters
- Table of contents generation
- Heading anchors and slugs
- Plain-text extraction and excerpts
- Reading-time calculation
- Link and image extraction
- Element customization
- AST transforms
- Plugin system
- Safe output defaults
- Presets for blog, docs, email, and minimal usage
Explore the Docs
- Getting Started — install, configure, and run your first parse
- API Reference — every option and return value
- Pipeline — the processing order from input to result
- Result Object — what you get back from a parse call
- Template Variables — inject data into your Markdown
- Filters — built-in formatting and case transforms
- Frontmatter — extract and use metadata
- Table of Contents — automatic heading collection
- Elements — customize HTML output
- Plugins — extend Nizel with your own logic
- Presets — blog, docs, email, and minimal bundles
- Safety — safe output defaults
- Testing — test suite and conformance
- Release Notes — version history