rst.js 831 B

12345678910111213141516171819202122232425262728293031323334353637
  1. ace.define("ace/snippets/rst",[], function(require, exports, module) {
  2. "use strict";
  3. exports.snippetText = "# rst\n\
  4. \n\
  5. snippet :\n\
  6. :${1:field name}: ${2:field body}\n\
  7. snippet *\n\
  8. *${1:Emphasis}*\n\
  9. snippet **\n\
  10. **${1:Strong emphasis}**\n\
  11. snippet _\n\
  12. \\`${1:hyperlink-name}\\`_\n\
  13. .. _\\`$1\\`: ${2:link-block}\n\
  14. snippet =\n\
  15. ${1:Title}\n\
  16. =====${2:=}\n\
  17. ${3}\n\
  18. snippet -\n\
  19. ${1:Title}\n\
  20. -----${2:-}\n\
  21. ${3}\n\
  22. snippet cont:\n\
  23. .. contents::\n\
  24. \n\
  25. ";
  26. exports.scope = "rst";
  27. });
  28. (function() {
  29. ace.require(["ace/snippets/rst"], function(m) {
  30. if (typeof module == "object" && typeof exports == "object" && module) {
  31. module.exports = m;
  32. }
  33. });
  34. })();