-
-
Save justinfay/6e50f9142baa447b3b6721348e231d2b to your computer and use it in GitHub Desktop.
Simple markdown file preview with firefox
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 characters
#!/usr/bin/env bash | |
pandoc -t html $1 | firefox "data:text/html;base64,$(base64 -w 0 <&0)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment