mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
350e2ac38f
Upgrade to Ace v1.4.5 GitOrigin-RevId: 7ab7ba24c0bfc927567fbd4196e05a1c3f26d283
45 lines
No EOL
951 B
JavaScript
45 lines
No EOL
951 B
JavaScript
ace.define("ace/snippets/textile",[], function(require, exports, module) {
|
|
"use strict";
|
|
|
|
exports.snippetText = "# Jekyll post header\n\
|
|
snippet header\n\
|
|
---\n\
|
|
title: ${1:title}\n\
|
|
layout: post\n\
|
|
date: ${2:date} ${3:hour:minute:second} -05:00\n\
|
|
---\n\
|
|
\n\
|
|
# Image\n\
|
|
snippet img\n\
|
|
!${1:url}(${2:title}):${3:link}!\n\
|
|
\n\
|
|
# Table\n\
|
|
snippet |\n\
|
|
|${1}|${2}\n\
|
|
\n\
|
|
# Link\n\
|
|
snippet link\n\
|
|
\"${1:link text}\":${2:url}\n\
|
|
\n\
|
|
# Acronym\n\
|
|
snippet (\n\
|
|
(${1:Expand acronym})${2}\n\
|
|
\n\
|
|
# Footnote\n\
|
|
snippet fn\n\
|
|
[${1:ref number}] ${3}\n\
|
|
\n\
|
|
fn$1. ${2:footnote}\n\
|
|
\n\
|
|
";
|
|
exports.scope = "textile";
|
|
|
|
});
|
|
(function() {
|
|
ace.require(["ace/snippets/textile"], function(m) {
|
|
if (typeof module == "object" && typeof exports == "object" && module) {
|
|
module.exports = m;
|
|
}
|
|
});
|
|
})();
|
|
|