Inspired by the tutorial
- Clone this Repo.
- Execute the following
$ cargo run <markdown-file-name>
- The HTML should be written to a file (
<markdown-file-name>.html
)
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.
- 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!