Updated version here
MD is a MakeDown file reader with:
- Header styles
- List support
- check list support
- under lines (
========
) - highlighting support I.E
*Hello, world!*
`Hello, world!`
***Hello, world!***
- Basic Syntax Highlighting I.E highlight scripts in code highlights Warning Syntax highlighter doesn't know what comments are so don't type apostrophes in comments ( They can be escaped in strings )
All styles are in the ./styles
directory.
You can set the STYLE
variable in make for file name I.E
$ sudo make install STYLE=default
Or you can use STYLEFILE
for full path to file I.E
$ sudo make install STYLEFILE=./styles/default.h
For more info about Styling
read the ./doc/Styles.md
file.
BinUtils - Usually preinstall on Linux
LibAdvo
Optional
To remove ADVO comment out #define ADVO
and #include <advo.h>
in selected style, or use style
-noadvo.h instead
$ ./install.sh
$ sudo make install
MD also is in the AUR at https://aur.archlinux.org/packages/md-git/
I would recommend using trizen to download
$ make mk
$ make build
$ sudo make uninstall
Test that the command is installed with
$ md -f
It should display something that looks like a face.
Test if application works
$ md -h
Should display the help message.
doxy, and desert are taken from https://github.com/googlearchive/code-prettify
default, moon, and tty-support made by me
The face is of former president of the USA Donald John Trump