nolze / popdoc

A simple Pandoc-like Markdown to HTML converter with in-browser live preview, customizable by Node's unified framework

Home Page:https://nolze.github.io/popdoc/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Popdoc

Build Status npm version npm downloads

A simple Pandoc-like Markdown to HTML converter with in-browser live preview, customizable by Node's unified framework.

Features

  • Generates a complete HTML document, not only for the preview purpose
  • Easily customize css, title, language, etc. using YAML frontmatter

Install

npm install -g popdoc

Usage

Build:

popdoc example.md -o example.html

Build, preview in browser, and watch for changes:

popdoc example.md -o example.html --watch

See tests/example.md for writing a frontmatter (set title, styles, ...)

Todo

  • Use open ports
  • Support glob pattern
  • Cover necessary Pandoc features
  • Design options for unified
  • Provide good docs
  • Use TypeScript
  • Refactor

Design

  • Keep every path relative to the source document

About

A simple Pandoc-like Markdown to HTML converter with in-browser live preview, customizable by Node's unified framework

https://nolze.github.io/popdoc/

License:MIT License


Languages

Language:JavaScript 72.8%Language:HTML 24.8%Language:Shell 2.4%