Skip to content
/ medup Public
forked from hardhackerlabs/medup

Medup is a markdown parsing toolkit developed in Rust, including library, cli and web service. 【This is my rust learning project 🛵】

Notifications You must be signed in to change notification settings

daskyrk/medup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medup is a markdown parsing toolkit!

Features

  • Support all standard syntax of markdown
  • Supports all major extension syntaxes
  • Provide library parsing markdown to html or free custom development based on AST directly
  • Provide CLI tools to parse markdown to html
  • Provide web service to host and parse markdown files, and create private document system or blog
  • Support css theme selection
  • Support git as storage backend

Demo

todo

Usage

A markdown parsing toolkit

Usage: medup <COMMAND>

Commands:
  gen    Generate html from markdown
  serve  Provide an http service for markdown parsing
  help   Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help information
  -V, --version  Print version information

CLI

Use the following command to generate a html file from your markdown file.

cargo run -- gen --output markdown-guide.html docs/markdown-guide.md

Web

Use the following command to start an http service on port 8181.

cargo run -- serve --config-path themes/notion/config.json --dir docs --static-dir themes

or

docker run -d --rm -p 8181:8181 skoowoo/medup:0.1

Open https://localhost:8181 with your browser.

About

Medup is a markdown parsing toolkit developed in Rust, including library, cli and web service. 【This is my rust learning project 🛵】

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 86.4%
  • CSS 13.1%
  • Dockerfile 0.5%