name subject to change lol
Go to file
Zorchenhimer ca6bdca7ab Fix basic parse issues
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
2023-10-15 18:30:59 -04:00
.gitignore Initial commit 2021-07-14 11:15:46 -04:00
Makefile Fix Makefile for use on Unix 2021-07-14 11:32:46 -04:00
lexer.c Fix basic parse issues 2023-10-15 18:30:59 -04:00
lexer.h Fix basic parse issues 2023-10-15 18:30:59 -04:00
main.c Fix basic parse issues 2023-10-15 18:30:59 -04:00
main.h Initial commit 2021-07-14 11:15:46 -04:00
node.c Fix basic parse issues 2023-10-15 18:30:59 -04:00
node.h Fix basic parse issues 2023-10-15 18:30:59 -04:00
readme.md Initial commit 2021-07-14 11:15:46 -04:00
sample.md Initial commit 2021-07-14 11:15:46 -04:00
token.c Fix basic parse issues 2023-10-15 18:30:59 -04:00
token.h Initial commit 2021-07-14 11:15:46 -04:00

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