Stackedit/js/extensions/buttonMarkdownSyntax.js
2013-06-20 23:28:49 +01:00

19 lines
503 B
JavaScript

define([
"jquery",
"text!html/buttonMarkdownSyntax.html",
], function($, buttonMarkdownSyntaxHTML) {
var buttonMarkdownSyntax = {
extensionId: "buttonMarkdownSyntax",
extensionName: 'Button "Markdown syntax"',
optional: true,
settingsBloc: '<p>Adds a "Markdown syntax" button over the preview.</p>'
};
buttonMarkdownSyntax.onCreatePreviewButton = function() {
return $(buttonMarkdownSyntaxHTML);
};
return buttonMarkdownSyntax;
});