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