diff --git a/src/Plotly.NET.CSharp/Plotly.NET.CSharp.csproj b/src/Plotly.NET.CSharp/Plotly.NET.CSharp.csproj
index fe8c6cde1..84679f6b0 100644
--- a/src/Plotly.NET.CSharp/Plotly.NET.CSharp.csproj
+++ b/src/Plotly.NET.CSharp/Plotly.NET.CSharp.csproj
@@ -36,7 +36,8 @@
-
+
+
diff --git a/src/Plotly.NET.CSharp/extension.dib b/src/Plotly.NET.CSharp/extension.dib
new file mode 100644
index 000000000..a1ccbc9bb
--- /dev/null
+++ b/src/Plotly.NET.CSharp/extension.dib
@@ -0,0 +1,30 @@
+#!csharp
+
+using Microsoft.DotNet.Interactive;
+using Microsoft.DotNet.Interactive.Formatting;
+
+var interactiveDoc = @"
+
+ [CHART]
+ [DESCRIPTION]
+
+";
+
+
+
+Formatter.Register(
+ (chart, writer) =>
+ {
+ var chartMarkup = Plotly.NET.GenericChart.toChartHTML(chart);
+ var displayOpts = Plotly.NET.GenericChart.getDisplayOptions(chart);
+ var html = Plotly.NET.DisplayOptions.replaceHtmlPlaceholders(
+ displayOpts,
+ interactiveDoc.Replace("[CHART]", chartMarkup)
+ );
+ writer.Write(html);
+ },
+ "text/html"
+);
+
+"Interactive module loaded, enjoy!"
+