Added support Marko templates.
This commit is contained in:
parent
42382c0e56
commit
aa06255e6f
|
@ -14,7 +14,7 @@ notifications:
|
|||
script: sh build-package.sh
|
||||
|
||||
env:
|
||||
- APM_TEST_PACKAGES="language-typescript language-csharp"
|
||||
- APM_TEST_PACKAGES="language-typescript language-csharp language-marko"
|
||||
|
||||
before_install:
|
||||
# Update Homebrew
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<if test="data.items">
|
||||
<for each="item in data.items">
|
||||
<div>${item.name}</div>
|
||||
</for>
|
||||
</if>
|
||||
<else>
|
||||
content
|
||||
</else>
|
|
@ -0,0 +1,8 @@
|
|||
<if test="data.items">
|
||||
<for each="item in data.items">
|
||||
<div>${item.name}</div>
|
||||
</for>
|
||||
</if>
|
||||
<else>
|
||||
content
|
||||
</else>
|
|
@ -0,0 +1,6 @@
|
|||
<if test="${data.items}">
|
||||
content
|
||||
</if>
|
||||
<else>
|
||||
content
|
||||
</else>
|
|
@ -0,0 +1,6 @@
|
|||
<if test="${data.items}">
|
||||
content
|
||||
</if>
|
||||
<else>
|
||||
content
|
||||
</else>
|
|
@ -410,7 +410,7 @@ module.exports =
|
|||
beautifyHTML ?= require("js-beautify").html
|
||||
text = beautifyHTML(text, self.getOptions("html", allOptions))
|
||||
beautifyCompleted text
|
||||
when "HTML (Liquid)", "HTML", "XML"
|
||||
when "HTML (Liquid)", "HTML", "XML", "Marko"
|
||||
beautifyHTML ?= require("js-beautify").html
|
||||
text = beautifyHTML(text, self.getOptions("html", allOptions))
|
||||
beautifyCompleted text
|
||||
|
|
|
@ -117,6 +117,7 @@
|
|||
"editorconfig",
|
||||
"yaml",
|
||||
"front matter",
|
||||
"jekyll"
|
||||
"jekyll",
|
||||
"marko"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ describe "BeautifyLanguages", ->
|
|||
"java", "javascript", "json", "less",
|
||||
"mustache", "objective-c", "perl", "php",
|
||||
"python", "ruby", "sass", "sql",
|
||||
"typescript", "xml", "csharp", "gfm"
|
||||
"typescript", "xml", "csharp", "gfm", "marko"
|
||||
]
|
||||
|
||||
beforeEach ->
|
||||
|
|
Loading…
Reference in New Issue