+++ markdowneditor.js
@@ -1911,6 +1911,20 @@
   }
 };
 
+markdownEditor.prvAjax = function() {
+	var inputContent = BUE.active.getContent();
+	$.ajaxMarkup(inputContent, 'markdown', function(output, success, request) {
+		if(success) {
+			if(BUE.active.UI.prev().hasClass('markdowneditor-ajaxpreview')) {
+				BUE.active.UI.prev().remove();	
+			}
+			else {
+				BUE.active.UI.before('<div class="markdowneditor-ajaxpreview">' + output + '</div>');
+			}
+		}
+	});
+}
+
 
 /*******************************************************************************
  * UNORDERED LIST
