Skip to content

anirudhRowjee/mirage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirage - A tiny Markdown Rendering Engine

Inspired by the tutorial

Usage

  1. Clone this Repo.
  2. Execute the following
$ cargo run <markdown-file-name>
  1. The HTML should be written to a file (<markdown-file-name>.html)

Status

Currently supports only top-level headings and plain text, such as

# This is a top-level heading
This is some text below it.
# This is another top level-heading
This is some more text.

Roadmap

  • Add support for multi-level headings
  • Use a better way to keep track of what is being parsed (perhaps use a stack to keep track?)
  • Recurive Parsing
  • More Error Checking

Feel Free to fork the repo and contribute!

About

A Tiny Markdown Compiler written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages