md

cat markdown files with syntax highlighting
git clone https://noulin.net/git/md.git
Log | Files | Refs | README | LICENSE

README.md (780B)


      1 # md
      2 cat markdown files with syntax highlighting
      3 
      4 # Install
      5 
      6 ```
      7 # Install dependencies
      8 spm install
      9 # run
     10 ./md.c README.md
     11 ```
     12 
     13 # Supported syntax
     14 
     15 - GFM github flavored markdown
     16 - \_underline\_ _underline_
     17 - \-faint\- -faint-
     18 - \%inverse\% %inverse%
     19 - \!conceal/hidden\! !conceal/hidden!
     20 - \~crossed\~ ~crossed~
     21 - \^blink\^ ^blink^
     22 - colors
     23 
     24 [fgx800034](#x800034)
     25 
     26 [fg9](#9) [fg15](#15) - standard 16 terminal **colors**
     27 
     28 background color
     29 
     30 [fgx12AB34 bgxffffff](#x12AB34#xffffff)
     31 
     32 [fgxffAB34 bg1](#xffAB34#1)
     33 
     34 [bgxffffff](##xffffff) < default fg color
     35 
     36 [fgd bg1](##1) [fg9 bg2](#9#2) - standard 16 terminal colors
     37 
     38 - anchors: destination \[|id\] and link \[to id\](|id)
     39 - html entities: \&xUnicodeHex; or \&name;
     40 - tables
     41 
     42 | foo | bar |
     43 | --- | --- |
     44 | baz | bim |
     45 | bot | bel |