Skip to content
Samuel Walladge edited this page Jul 13, 2017 · 10 revisions

Display markdown notes formatted in terminal

  1. install mdv
  2. make a wrapper /usr/local/sbin/mdless
    #!/bin/zsh
    # https://superuser.com/questions/1059781/what-exactly-is-in-bash-and-in-zsh
    /usr/bin/less -R -c =(mdv "$1")
    # /usr/bin/less -R -c =(mdv -A "$1") # light background (not yet supported)
  3. set it in ~/.snclirc
    cfg_pager = /usr/local/sbin/mdless
    

(Thanks to @s5unty)

Clone this wiki locally