mirror of
https://github.com/marko-js/marko.git
synced 2026-01-25 15:03:04 +00:00
55 lines
1.8 KiB
JSON
55 lines
1.8 KiB
JSON
{
|
|
"<layout-use>": {
|
|
"@__template": "template",
|
|
"@__data": "template",
|
|
"@*": {
|
|
"remove-dashes": true,
|
|
"type": "string"
|
|
},
|
|
"renderer": "./use-tag",
|
|
"body-function": "getContent(__layoutHelper)",
|
|
"transformer": "./use-tag-transformer.js",
|
|
"autocomplete": [
|
|
{
|
|
"snippet": "layout-use(\"${1:./path/to/template.marko}\")",
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-use><code>"
|
|
},
|
|
{
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-use><code>"
|
|
}
|
|
]
|
|
},
|
|
"<layout-put>": {
|
|
"@into": "string",
|
|
"@value": "string",
|
|
"renderer": "./put-tag",
|
|
"import-var": {
|
|
"layout": "__layoutHelper"
|
|
},
|
|
"autocomplete": [
|
|
{
|
|
"snippet": "layout-put into=\"${1:name}\"",
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-put><code>"
|
|
},
|
|
{
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-put><code>"
|
|
}
|
|
]
|
|
},
|
|
"<layout-placeholder>": {
|
|
"@name": "string",
|
|
"renderer": "./placeholder-tag",
|
|
"import-var": {
|
|
"content": "data.layoutContent"
|
|
},
|
|
"autocomplete": [
|
|
{
|
|
"snippet": "layout-placeholder name=\"${1:name}\"",
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-placeholder><code>"
|
|
},
|
|
{
|
|
"descriptionMoreURL": "http://markojs.com/docs/marko/layout-taglib/#<code><layout-placeholder><code>"
|
|
}
|
|
]
|
|
}
|
|
} |