Add a Syntax Highlighter for the Curly template language

This commit is contained in:
Liborio Cannici 2013-01-15 16:26:17 +01:00
commit 40fb7f3a11
6 changed files with 387 additions and 0 deletions

View file

@ -72,6 +72,7 @@ var docs = {
"docs/cpp.cpp": "C/C++",
"docs/csharp.cs": "C#",
"docs/css.css": "CSS",
"docs/curly.curly": "Curly",
"docs/dart.dart": "Dart",
"docs/diff.diff": "Diff",
"docs/dot.dot": "Dot",

View file

@ -0,0 +1,16 @@
<html>
<head>
<style type="text/css">
.text-layer {
font-family: Monaco, "Courier New", monospace;
font-size: 12px;
cursor: text;
}
</style>
</head>
<body>
<h1 style="color:red">{{author_name}}</h1>
</body>
</html>

View file

@ -42,6 +42,7 @@ var modesByName = {
coldfusion: ["ColdFusion" , "cfm"],
csharp: ["C#" , "cs"],
css: ["CSS" , "css"],
curly: ["Curly" , "curly"],
dart: ["Dart" , "dart"],
diff: ["Diff" , "diff|patch"],
dot: ["Dot" , "dot"],