markdown-it-email-obfuscator
v0.0.2
Published
Converts autolink with an email to an obfuscated with html entities link.
Downloads
6
Maintainers
Readme
Markdown-it Email Obfuscator
Obfuscation Example
<[email protected]> → <a href="mailto:obfuscated">obfuscated</a>
obfuscated looks like: homer.j.simpson@example.com
Install
'use strict';
const md = require('markdown-it')()
.use(require('markdown-it-email-obfuscator'));
const input = 'AA<[email protected]>BB';
console.log(md.render(input));