Created
December 6, 2017 21:23
-
-
Save bgstack15/58d339227411b43553c80878a5537f87 to your computer and use it in GitHub Desktop.
Htmlize function
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
htmlize () { $( which sed ) -r -e 's/</\xCAlt;/g;' -e 's/>/\xCAgt;/g;' -e 's/\&/\&amp;/g;' -e 's/\xCA([lg])t;/\&\1t;/g;' ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment