mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
d613d7e1a2
Upgrade Ace to v1.4.3 GitOrigin-RevId: 810350080a6b89fd9817ebcacde7e9817097d99a
37 lines
No EOL
831 B
JavaScript
37 lines
No EOL
831 B
JavaScript
ace.define("ace/snippets/rst",[], 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;
|
|
}
|
|
});
|
|
})();
|
|
|