Zorchenhimer
7d8ed24eaf
This struct was just a container for two pointers and just made things painful. This structure has been removed and the next pointer has been moved to the Token struct. Also, add a null check to the calling context after NewLexer(). |
||
---|---|---|
.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