.*<\/div><\!\-\- close \-\-\>)` "" | safeHTML}}
+{{ else if $influxdbCloud }}
+ {{ .Content | replaceRE `(?U)(
.*<\/span><\!\-\- close \-\-\>)` "" | replaceRE `(?Us)(.*<\/div><\!\-\- close \-\-\>)` "" | safeHTML}}
+{{ else }}
+ {{ .Content }}
+{{ end }}
\ No newline at end of file
diff --git a/layouts/shortcodes/cloud-only.html b/layouts/shortcodes/cloud-only.html
new file mode 100644
index 000000000..ac522f799
--- /dev/null
+++ b/layouts/shortcodes/cloud-only.html
@@ -0,0 +1,3 @@
+{{- $el := cond (gt (len (findRE `\n` .Inner)) 0) "div" "span" -}}
+{{- $output := print "<" $el " class='cloud-only'>" .Inner "" $el ">" | safeHTML -}}
+{{ $output }}
\ No newline at end of file
diff --git a/layouts/shortcodes/oss-only.html b/layouts/shortcodes/oss-only.html
new file mode 100644
index 000000000..905bf894c
--- /dev/null
+++ b/layouts/shortcodes/oss-only.html
@@ -0,0 +1,3 @@
+{{- $el := cond (gt (len (findRE `\n` .Inner)) 0) "div" "span" -}}
+{{- $output := print "<" $el " class='oss-only'>" .Inner "" $el ">" | safeHTML -}}
+{{ $output }}
\ No newline at end of file