md-dir-builder

Crates.iomd-dir-builder
lib.rsmd-dir-builder
version0.3.1
sourcesrc
created_at2022-09-27 19:02:21.907625
updated_at2023-04-15 13:51:01.269194
descriptionWebserver for serving all markdown files in a directory
homepage
repositoryhttps://github.com/codefionn/md-dir-builder-rs
max_upload_size
id675128
size749,128
Fionn Langhans (codefionn)

documentation

README

md-dir-builder

A markdown directory server for a cool editing experience with any editor.

This project also shows how to implement concurrent systems in Rust (with tokio).

Clone & run

git clone https://github.com/codefionn/md-dir-builder-rs
cd md-dir-builder-rs
cargo run -- -p 8082

Get help:

cargo run -- --help

Markdown parsing

Currently markdown parsing is done with the pulldown-cmark library (like mdBook).

TODO

  • Handle connection losses to server
  • Adjustable IP-address (currently 127.0.0.1 and ::1 are used)
  • Allow images in Markdown files

Vendored dependencies

  • Prismjs: For cool code highlighting
Commit count: 50

cargo fmt