Last active
June 20, 2016 03:28
Revisions
-
Pomke Nohkan revised this gist
Jun 20, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ ## mdless Read markdown files in your terminal ```bash cd ~/code git clone git@github.com:axiros/terminal_markdown_viewer.git -
Pomke Nohkan revised this gist
Jun 20, 2016 . 1 changed file with 18 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -17,4 +17,21 @@ Now you can happily: mdless README.md ``` ## swagger extension: ```bash npm install -g swagger-markup ``` Then add the following to your .bashrc/.zshrc ```bash swagless () { swagger-markup -f markdown "$@" > "/tmp/$@" && mdless "/tmp/$@" ; } ``` Now you can: ```bash swagless swagger.yml ``` -
Pomke Nohkan revised this gist
May 18, 2016 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,4 +9,12 @@ Then add the following to your .bashrc/.zshrc ```bash mdless () { /Users/yourname/code/terminal_markdown_viewer/mdv.py -t 994.0134 -T 627.2501 "$@" | less; } ``` Now you can happily: ```bash mdless README.md ``` to your heart's content :) -
Pomke Nohkan created this gist
May 18, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ ```bash cd ~/code git clone git@github.com:axiros/terminal_markdown_viewer.git cd terminal_markdown_viewer pip install markdown pygments pyyaml ``` Then add the following to your .bashrc/.zshrc ```bash mdless () { /Users/yourname/code/terminal_markdown_viewer/mdv.py -t 994.0134 -T 627.2501 "$@" | less; } ```