Created
October 26, 2017 20:22
-
-
Save hjacobs/9ac697bc71b8c7705c2b2442bd5a09c3 to your computer and use it in GitHub Desktop.
Revisions
-
hjacobs created this gist
Oct 26, 2017 .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,8 @@ #!/usr/bin/env python3 import sys from pygments import highlight from pygments.lexers import BashLexer from pygments.formatters import HtmlFormatter print(highlight(sys.stdin.read(), BashLexer(), HtmlFormatter(full=True)))