mu/linux/browse
Kartik K. Agaram 2d306e2a98 7846 2021-03-04 00:11:23 -08:00
..
README.md 7846 2021-03-04 00:11:23 -08:00
main.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
paginated-screen.mu 7842 - new directory organization 2021-03-03 22:21:03 -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.