+
{%- endif -%}
{%- if cell.metadata.slide_type == 'notes' -%}
diff --git a/share/templates/reveal/cellslidedata.j2 b/share/templates/reveal/cellslidedata.j2
new file mode 100644
index 000000000..d759f1e92
--- /dev/null
+++ b/share/templates/reveal/cellslidedata.j2
@@ -0,0 +1,9 @@
+{%- macro cellslidedata(cell) -%}
+ {% if cell.metadata.slideshow | length > 0 -%}
+ {% if cell.metadata.slideshow.data | length > 0 -%}
+ {% for key in (cell.metadata.slideshow.data) -%}
+ {{- (' data_' ~ key)|replace("_", "-") -}}="{{- cell.metadata.slideshow.data[key]|escape_html -}}"
+ {%- endfor -%}
+ {%- endif %}
+ {%- endif %}
+{%- endmacro %}