Skip to content
Discussion options

You must be logged in to vote

Glad you like it (Pandoc is the one doing the work and it is a very cool feature!). It obfuscates both the text and the link. Here is some example output:

<p><script type="text/javascript">
<!--
h='&#112;&#x6f;&#x73;&#x69;&#116;&#46;&#x63;&#x6f;';a='&#64;';n='&#x63;&#104;&#x61;&#114;&#108;&#x65;&#x73;';e=n+a+h;
document.write('<a h'+'ref'+'="ma'+'ilto'+':'+e+'" clas'+'s="em' + 'ail">'+e+'<\/'+'a'+'>');
// -->
</script><noscript>charles at posit dot co</noscript></p>

FWIW, it will also process a simpler version of the link if you'd like <[email protected]> and will make the mailto link and obfuscate it for you.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@lvclark
Comment options

Answer selected by lvclark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js)
2 participants