name subject to change lol
Go to file
Zorchenhimer d855df380b Add codeblocks; Fix some stuff
- Parse code blocks that are wrapped sets of three backticks.
- Added a TT_TRIPLEBACKTICK token.
- Added a length field to the Token struct.
- Added an error node.
- Cleaned up some file read code.
- Fixed the header raw text (don't reuse the same buffer for each node).
2023-10-15 20:55:12 -04:00
.gitignore Initial commit 2021-07-14 11:15:46 -04:00
Makefile Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -04:00
lexer.c Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -04:00
lexer.h Fix basic parse issues 2023-10-15 18:30:59 -04:00
main.c Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -04:00
main.h Initial commit 2021-07-14 11:15:46 -04:00
node.c Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -04:00
node.h Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -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 Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -04:00
token.h Add codeblocks; Fix some stuff 2023-10-15 20:55:12 -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