mu/linux/browse
Kartik K. Agaram d253a31828 rename grapheme to code-point-utf8
Longer name, but it doesn't lie. We have no data structure right now for
combining multiple code points. And it makes no sense for the notion of
a grapheme to conflate its Unicode encoding.
2021-11-09 08:12:11 -08:00
..
README.md 7846 2021-03-04 00:11:23 -08:00
main.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
paginated-screen.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
vimrc.vim 7842 - new directory organization 2021-03-03 22:21:03 -08:00

README.md

Render a subset of Markdown.

To run:

$ cd linux
$ ./translate browse.mu
$ ./a.elf __text_file__

Press 'q' to quit. All other keys scroll down.

Format restrictions

This is a fairly tiny subset of GitHub-Flavored Markdown. Things supported so far:

  • Newlines are mostly ignored. Double newlines are rendered (paragraphs). Newlines followed by indentation are rendered.
  • Paragraphs starting with runs of # represent headings.
  • Within a line, characters between *s or _s represent bolded text. No italics.