mediawiki-extensions-CodeEd.../modules/ace/snippets/rst.js
Ed Sanders d4cc23f606 Update ace-build 1.2.9 -> 1.4.9 and recompile
Change-Id: I31eeb56eec4995e1bff8248e5c1d4df7f20ad48b
2020-04-14 14:30:34 -07:00

36 lines
858 B
JavaScript

ace.define("ace/snippets/rst",["require","exports","module"], function(require, exports, module) {
"use strict";
exports.snippetText = "# rst\n\
\n\
snippet :\n\
:${1:field name}: ${2:field body}\n\
snippet *\n\
*${1:Emphasis}*\n\
snippet **\n\
**${1:Strong emphasis}**\n\
snippet _\n\
\\`${1:hyperlink-name}\\`_\n\
.. _\\`$1\\`: ${2:link-block}\n\
snippet =\n\
${1:Title}\n\
=====${2:=}\n\
${3}\n\
snippet -\n\
${1:Title}\n\
-----${2:-}\n\
${3}\n\
snippet cont:\n\
.. contents::\n\
\n\
";
exports.scope = "rst";
}); (function() {
ace.require(["ace/snippets/rst"], function(m) {
if (typeof module == "object" && typeof exports == "object" && module) {
module.exports = m;
}
});
})();