diff --git a/.vscode/blowfish.code-snippets b/.vscode/blowfish.code-snippets
index abd80369..46c71202 100644
--- a/.vscode/blowfish.code-snippets
+++ b/.vscode/blowfish.code-snippets
@@ -79,7 +79,14 @@
"{{< /chart >}}"
],
"description": "Use the Chart.js library to embed charts into articles using simple structured data. Blowfish chart Shortcode. Documentation: https://blowfish.page/docs/shortcodes/#chart ",
- },
+ },
+ "email": {
+ "prefix": ["BFS-email", "HSC-email", "email"],
+ "body": [
+ "{{< email email=\"mailto:${1:hello@test.com}\" text=\"${2:text}\" subject=\"${3:Reply to awesome article}\" >}}$0",
+ ],
+ "description": "Creates an obfuscated mailto link. Documentation: https://blowfish.page/docs/shortcodes/#email ",
+ },
"figure": {
"prefix": ["BFS-figure", "HSC-figure", "figure"],
"body": [
@@ -255,4 +262,4 @@
"description": "Typewriter-Like text. Blowfish typeit Shortcode. Documentation: https://blowfish.page/docs/shortcodes/#typeit https://www.typeitjs.com/docs/vanilla/usage/ ",
},
-}
\ No newline at end of file
+}
diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md
index 245ba8e6..707deb26 100644
--- a/exampleSite/content/docs/shortcodes/index.md
+++ b/exampleSite/content/docs/shortcodes/index.md
@@ -376,6 +376,18 @@ This shortcode is for importing code from external sources easily without copyin
+## Email
+
+Creates an obfuscated mailto link:
+
+```md
+{{* email email="mailto:hello@test.com" text="text" subject="Reply to awesome article" */>}}
+```
+
+{{< email email="mailto:hello@test.com" text="text" subject="Reply to awesome article" >}}
+
+
+
## Figure
Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits.
diff --git a/layouts/shortcodes/email.html b/layouts/shortcodes/email.html
new file mode 100644
index 00000000..83de74cf
--- /dev/null
+++ b/layouts/shortcodes/email.html
@@ -0,0 +1,8 @@
+
+ {{- .Get "text" -}}
+
+{{- /**/ -}}