Last active
February 9, 2022 05:22
-
-
Save tonejito/e429dd0efaf4d251d43e6d0d929a6de1 to your computer and use it in GitHub Desktop.
Obfuscate email address with @jgm pandoc and HTML5
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
#!/bin/bash | |
# none, javascript, references | |
OBFUSCATION=references | |
echo '<[email protected]>' | pandoc --email-obfuscation ${OBFUSCATION} -f Markdown -t html5 |
Author
tonejito
commented
Aug 25, 2017
$ ./obfuscate-email-address
<p><a href="mailto:user@example.com" class="email">user@example.com</a></p>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment