You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
			
		
		
	
	
			51 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
<!DOCTYPE html>
 | 
						|
<html>
 | 
						|
  <head>
 | 
						|
    <title>
 | 
						|
      {{title}}
 | 
						|
    </title>
 | 
						|
    {{!}}
 | 
						|
  </head>
 | 
						|
  <body>
 | 
						|
    <div id="main">
 | 
						|
      <h1>Mustache Showdown</h1>
 | 
						|
 | 
						|
      Basic mustache {{hello}}
 | 
						|
      {{ hello}}, {{hello }} and {{ hello }} are OK
 | 
						|
 | 
						|
      <de>{{d d d}}
 | 
						|
 | 
						|
      {{Everything will be hilighted here}}
 | 
						|
 | 
						|
      Mustaches hilighted in
 | 
						|
      <span class="color:{{awesome_color}};font-size:1.2em">attribute value</span>
 | 
						|
 | 
						|
      {{#repo}}
 | 
						|
      This is an mustache [enumerable] section
 | 
						|
      <li>{{ name }}</li>
 | 
						|
      {{/repo}}
 | 
						|
 | 
						|
      You can {{{yield}}} here
 | 
						|
 | 
						|
      {{! <> this is a comment TODO:}}
 | 
						|
 | 
						|
      This is a partial   {{> partial1 }}
 | 
						|
      Yet another partial {{< partial2 }}, for ctemplate
 | 
						|
 | 
						|
      {{=<% %>=}}Sorry, cusomized delimiter not handled yet<%={{}}=%>
 | 
						|
 | 
						|
      {{#if some_helper}}
 | 
						|
        And here is an example of handlebars if...
 | 
						|
      {{else}}
 | 
						|
        ... with optional else added. Try matchit `%` command over if/else/if.
 | 
						|
      {{/if}}
 | 
						|
 | 
						|
      Thanks goes to {{@defunkt}}
 | 
						|
      Feedback/blames go to {{@juvenn}}
 | 
						|
      {{Frustrations}} go to /dev/null
 | 
						|
    </div>
 | 
						|
 | 
						|
  </body>
 | 
						|
</html>
 | 
						|
 |