mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 02:58:56 +01:00
[html] add handlebars
This commit is contained in:
24
extensions/handlebars/test/colorize-fixtures/test.hbs
Normal file
24
extensions/handlebars/test/colorize-fixtures/test.hbs
Normal file
@@ -0,0 +1,24 @@
|
||||
<h1>Comments</h1>
|
||||
|
||||
<div id="comments">
|
||||
{{#each comments}}
|
||||
<h2><a href="/posts/{{../permalink}}#{{id}}">{{title}}</a></h2>
|
||||
<div>{{body}}</div>
|
||||
{{/each}}
|
||||
<p>{{./name}} or {{this/name}} or {{this.name}}</p>
|
||||
</div>
|
||||
<div class="entry">
|
||||
{{!-- only output author name if an author exists --}}
|
||||
{{#if author}}
|
||||
<h1>{{firstName}} {{lastName}}</h1>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="post">
|
||||
{{> userMessage tagName="h1" }}
|
||||
|
||||
<h1>Comments</h1>
|
||||
|
||||
{{#each comments}}
|
||||
{{> userMessage tagName="h2" }}
|
||||
{{/each}}
|
||||
</div>
|
||||
1861
extensions/handlebars/test/colorize-results/test_hbs.json
Normal file
1861
extensions/handlebars/test/colorize-results/test_hbs.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user