diff --git a/editor.php b/editor.php
index a473752..9f5cfd3 100644
--- a/editor.php
+++ b/editor.php
@@ -11,10 +11,11 @@
+
';
@@ -198,6 +199,8 @@ function createNewCMInstance(num) {
}
top.ICEcoder.stickyTab.document.documentElement.appendChild(style);
}
+ } else if (["md"].indexOf(fileExt) > -1) {
+ top.ICEcoder.stickyTab.document.documentElement.innerHTML = mmd(window['cM'+num].getValue());
}
};
}