Alien-CodePress
view release on metacpan or search on metacpan
cp/codepress/languages/html.js view on Meta::CPAN
Language.snippets = [
{ input : 'aref', output : '<a href="$0"></a>' },
{ input : 'h1', output : '<h1>$0</h1>' },
{ input : 'h2', output : '<h2>$0</h2>' },
{ input : 'h3', output : '<h3>$0</h3>' },
{ input : 'h4', output : '<h4>$0</h4>' },
{ input : 'h5', output : '<h5>$0</h5>' },
{ input : 'h6', output : '<h6>$0</h6>' },
{ input : 'html', output : '<html>\n\t$0\n</html>' },
{ input : 'head', output : '<head>\n\t<meta http-equiv="content-type" content="text/html; charset=utf-8" />\n\t<title>$0</title>\n\t\n</head>' },
{ input : 'img', output : '<img src="$0" alt="" />' },
{ input : 'input', output : '<input name="$0" id="" type="" value="" />' },
{ input : 'label', output : '<label for="$0"></label>' },
{ input : 'legend', output : '<legend>\n\t$0\n</legend>' },
{ input : 'link', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
{ input : 'base', output : '<base href="$0" />' },
{ input : 'body', output : '<body>\n\t$0\n</body>' },
{ input : 'css', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
{ input : 'div', output : '<div>\n\t$0\n</div>' },
{ input : 'divid', output : '<div id="$0">\n\t\n</div>' },
cp/codepress/languages/xsl.js view on Meta::CPAN
Language.snippets = [
{input : 'aref', output : '<a href="$0"></a>' },
{input : 'h1', output : '<h1>$0</h1>' },
{input : 'h2', output : '<h2>$0</h2>' },
{input : 'h3', output : '<h3>$0</h3>' },
{input : 'h4', output : '<h4>$0</h4>' },
{input : 'h5', output : '<h5>$0</h5>' },
{input : 'h6', output : '<h6>$0</h6>' },
{input : 'html', output : '<html>\n\t$0\n</html>' },
{input : 'head', output : '<head>\n\t<meta http-equiv="content-type" content="text/html; charset=utf-8" />\n\t<title>$0</title>\n\t\n</head>' },
{input : 'img', output : '<img src="$0" width="" height="" alt="" border="0" />' },
{input : 'input', output : '<input name="$0" id="" type="" value="" />' },
{input : 'label', output : '<label for="$0"></label>' },
{input : 'legend', output : '<legend>\n\t$0\n</legend>' },
{input : 'link', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
{input : 'base', output : '<base href="$0" />' },
{input : 'body', output : '<body>\n\t$0\n</body>' },
{input : 'css', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
{input : 'div', output : '<div>\n\t$0\n</div>' },
{input : 'divid', output : '<div id="$0">\n\t\n</div>' },
( run in 1.822 second using v1.01-cache-2.11-cpan-70e19b8f4f1 )