Fixed parsing the tokens so it actually worked. Only headers are currently implemented, but header nodes are now properly parsed and everything else is properly ignored. - Get the input filename from the command line - Added in a bunch of checks to avoid segfaults - Added some more debug info in places |
||
|---|---|---|
| .gitignore | ||
| Makefile | ||
| lexer.c | ||
| lexer.h | ||
| main.c | ||
| main.h | ||
| node.c | ||
| node.h | ||
| readme.md | ||
| sample.md | ||
| token.c | ||
| token.h | ||
readme.md
Terminal Markdown Viewer
Goals
To render markdown in the terminal and use colors, font weights, etc, to display the document.
Implemented syntax
- Headers
- Unordered lists
- Ordered lists
- Inline code
- Block code
- Block quote?
- Bold
- Underline
maybies
- Task list
- Explicit colors
- Inter-document links
nopes
- Tables
- Syntax highlighting code