YASnippet is an actively used text markup language created in 2008.

11Years Old 3,594Users 0Jobs

Example code from the web:

# -*- mode: snippet -*-
# name: fun
# key: fun
# expand-env: ((yas-indent-line 'fixed))
# --
${1:function-name} :: ${2:type}
$1 ${3:arguments} $0

Example code from Linguist:

# name: Read stdin
# key: stdin
# group: es6
# --
new Promise(resolve => {
	let input = "";
	process.stdin.setEncoding("UTF8");
	process.stdin.on("readable", () => {
		const chunk = process.stdin.read();
		null !== chunk ? input += chunk : resolve(input);
	})
}).then(data => {
	$1
});
Edit

Last updated February 11th, 2019