define([ "jquery", "classes/Extension", "text!html/buttonMarkdownSyntax.html", ], function($, Extension, buttonMarkdownSyntaxHTML) { var buttonMarkdownSyntax = new Extension("buttonMarkdownSyntax", 'Button "Markdown syntax', true); buttonMarkdownSyntax.settingsBlock = '
Adds a "Markdown syntax" button over the preview.
'; buttonMarkdownSyntax.onCreatePreviewButton = function() { return $(buttonMarkdownSyntaxHTML); }; return buttonMarkdownSyntax; });