mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeEditor
synced 2024-11-28 00:50:33 +00:00
c158ae5602
This brings Ace to upstream commit 4a55188fdb0eee9e2d3854f175e67408a1e47655 Bug: T127643 Change-Id: I7699e842d7b561b8a35cf7a4ea048f4126eaf856
30 lines
532 B
JavaScript
30 lines
532 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";
|
|
|
|
});
|