Zorchenhimer
b952ac99ac
Added a bunch of code to free created objects. One notable change was to return the next token from FreeToken() to cut down on boiler plate code that kept track of a "consumed" token. Now all that just happens in FreeToken() and I don't have to worry about that anywhere else. Also added FreeNode() to free all nodes. This wasn't done before at all. Like FreeToken(), it will return the next node in the list to avoid having to track that stuff in the calling context. |
||
---|---|---|
.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