textile.js 951 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ace.define("ace/snippets/textile",[], function(require, exports, module) {
  2. "use strict";
  3. exports.snippetText = "# Jekyll post header\n\
  4. snippet header\n\
  5. ---\n\
  6. title: ${1:title}\n\
  7. layout: post\n\
  8. date: ${2:date} ${3:hour:minute:second} -05:00\n\
  9. ---\n\
  10. \n\
  11. # Image\n\
  12. snippet img\n\
  13. !${1:url}(${2:title}):${3:link}!\n\
  14. \n\
  15. # Table\n\
  16. snippet |\n\
  17. |${1}|${2}\n\
  18. \n\
  19. # Link\n\
  20. snippet link\n\
  21. \"${1:link text}\":${2:url}\n\
  22. \n\
  23. # Acronym\n\
  24. snippet (\n\
  25. (${1:Expand acronym})${2}\n\
  26. \n\
  27. # Footnote\n\
  28. snippet fn\n\
  29. [${1:ref number}] ${3}\n\
  30. \n\
  31. fn$1. ${2:footnote}\n\
  32. \n\
  33. ";
  34. exports.scope = "textile";
  35. });
  36. (function() {
  37. ace.require(["ace/snippets/textile"], function(m) {
  38. if (typeof module == "object" && typeof exports == "object" && module) {
  39. module.exports = m;
  40. }
  41. });
  42. })();