mediawiki-extensions-CodeEd.../modules/ace/snippets/textile.js
Derk-Jan Hartman c158ae5602 Update Ace and use scoped require / define
This brings Ace to upstream commit
4a55188fdb0eee9e2d3854f175e67408a1e47655

Bug: T127643
Change-Id: I7699e842d7b561b8a35cf7a4ea048f4126eaf856
2016-03-14 00:26:27 +01:00

38 lines
648 B
JavaScript

ace.define("ace/snippets/textile",["require","exports","module"], 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";
});