Warning, file /frameworks/syntax-highlighting/autotests/html/test.mustache.dark.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 <!DOCTYPE html> 0002 <html><head> 0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 0004 <title>test.mustache</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Mustache/Handlebars (HTML)) - Theme (Breeze Dark)"/> 0006 </head><body style="background-color:#232629;color:#cfcfc2"><pre> 0007 <span style="color:#7a7c7d;"><!-- Mustache / Handlebars / Ractive template --></span> 0008 <span style="color:#2980b9;font-weight:bold;"><!DOCTYPE </span>html<span style="color:#2980b9;font-weight:bold;">></span> 0009 <span style="font-weight:bold;"><html></span> 0010 <span style="font-weight:bold;"><head></span> 0011 <span style="font-weight:bold;"><meta</span><span style="color:#27ae60;"> charset</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"UTF-8"</span> <span style="font-weight:bold;">/></span> 0012 <span style="font-weight:bold;"><title></span><span style="color:#27aeae;">{{</span>title<span style="color:#27aeae;">}}</span><span style="font-weight:bold;"></title></span> 0013 <span style="font-weight:bold;"></head></span> 0014 <span style="color:#7a7c7d;"><!-- CSS --></span> 0015 <span style="font-weight:bold;"><style></span> 0016 <span style="color:#7a7c7d;">/* Mustache variable support in CSS is incomplete */</span> 0017 <span style="color:#27aeae;">{{</span>mustache<span style="color:#27aeae;">}}</span> 0018 <span style="color:#0099ff;font-weight:bold;">[ </span><span style="color:#27aeae;">{{</span>other<span style="color:#27aeae;">}}</span><span style="color:#0099ff;font-weight:bold;"> ]</span> 0019 body { 0020 <span style="color:#3daee9;">{{{</span>other<span style="color:#3daee9;">}}}</span> 0021 <span style="font-weight:bold;">font-size</span>: <span style="color:#f67400;">15</span><span style="color:#2980b9;">pt</span><span style="color:#3f8058;">;</span> 0022 <span style="font-weight:bold;">font-family</span>: Verdana<span style="color:#3f8058;">;</span> 0023 } 0024 <span style="font-weight:bold;"></style></span> 0025 <span style="color:#7a7c7d;"><!-- JavaScript --></span> 0026 <span style="font-weight:bold;"><script></span> 0027 <span style="font-weight:bold;">var</span> foo <span style="color:#3f8058;">=</span> <span style="color:#27aeae;">{{</span>bar<span style="color:#27aeae;">}}</span><span style="color:#3f8058;">;</span> 0028 <span style="color:#da4453;">`template </span><span style="color:#27aeae;">{{</span>foo<span style="color:#27aeae;">}}</span><span style="color:#da4453;"> </span><span style="color:#3daee9;">${</span> <span style="font-weight:bold;">var</span> a <span style="color:#3f8058;">=</span> <span style="color:#27aeae;">{{</span>b<span style="color:#27aeae;">}}</span> <span style="color:#3daee9;">}</span><span style="color:#da4453;">`</span> 0029 <span style="font-weight:bold;"></script></span> 0030 0031 <span style="font-weight:bold;"><body></span> 0032 <span style="color:#8e44ad;font-weight:bold;">{{#movie}}</span> 0033 <span style="font-weight:bold;"><div></span> 0034 <span style="font-weight:bold;"><h1></span><span style="color:#27aeae;">{{</span>title<span style="color:#27aeae;">}}</span><span style="font-weight:bold;"></h1></span> 0035 <span style="font-weight:bold;"><img</span><span style="color:#27ae60;"> src</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"</span><span style="color:#27aeae;">{{</span>poster<span style="color:#27aeae;">}}</span><span style="color:#f44f4f;">"</span><span style="color:#27ae60;"> alt</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"</span><span style="color:#27aeae;">{{</span>title<span style="color:#27aeae;">}}</span><span style="color:#f44f4f;">"</span><span style="font-weight:bold;">/></span> 0036 <span style="font-weight:bold;"></div></span> 0037 <span style="font-weight:bold;"><div></span> 0038 Rating - <span style="color:#27aeae;">{{</span>ratings<span style="color:#3f8058;">.</span>critics_rating<span style="color:#27aeae;">}}</span> 0039 <span style="font-weight:bold;"></div></span> 0040 <span style="color:#8e44ad;font-weight:bold;">{{/movie}}</span> 0041 <span style="color:#8e44ad;font-weight:bold;">{{^movie}}</span> 0042 <span style="font-weight:bold;"><div></span> 0043 Movie Does Not Exist :( 0044 <span style="font-weight:bold;"></div></span> 0045 <span style="color:#8e44ad;font-weight:bold;">{{/movie}}</span> 0046 <span style="color:#7a7c7d;">{{! this is a comment </span><span style="color:#ca9219;background-color:#451e1a;font-weight:bold;">TODO</span><span style="color:#7a7c7d;"> </span><span style="color:#e85848;background-color:#451e1a;font-weight:bold;">ALERT</span><span style="color:#7a7c7d;"> }}</span> 0047 0048 This is a partial <span style="color:#27aeae;">{{></span><span style="color:#3daee9;"> partial1 </span><span style="color:#27aeae;">}}</span> 0049 <span style="color:#8e44ad;font-weight:bold;">{{#block</span> 0050 <span style="color:#27ae60;"> param</span><span style="color:#3f8058;">=</span>foo 0051 <span style="color:#27ae60;"> param2</span><span style="color:#3f8058;">=</span>bar<span style="color:#8e44ad;font-weight:bold;">}}</span> 0052 <span style="color:#27aeae;">{{</span>block<span style="color:#27ae60;"> foo</span><span style="color:#3f8058;">=</span>bar<span style="color:#27aeae;">}}</span> 0053 <span style="color:#8e44ad;font-weight:bold;">{{/block}}</span> 0054 0055 <span style="color:#7a7c7d;"><!-- Handlebars --></span> 0056 0057 <span style="color:#8e44ad;font-weight:bold;">{{#list</span> people<span style="color:#8e44ad;font-weight:bold;">}}</span><span style="color:#27aeae;">{{</span>firstName<span style="color:#27aeae;">}}</span> <span style="color:#27aeae;">{{</span>lastName<span style="color:#27aeae;">}}</span><span style="color:#8e44ad;font-weight:bold;">{{/list}}</span> 0058 <span style="color:#8e44ad;font-weight:bold;">{{#noop}}</span><span style="color:#27aeae;">{{</span>body<span style="color:#27aeae;">}}</span><span style="color:#8e44ad;font-weight:bold;">{{/noop}}</span> 0059 <span style="color:#8e44ad;font-weight:bold;">{{#with</span> story<span style="color:#8e44ad;font-weight:bold;">}}</span> 0060 <span style="font-weight:bold;"><div</span><span style="color:#27ae60;"> class</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"intro"</span><span style="font-weight:bold;">></span><span style="color:#3daee9;">{{{</span>intro<span style="color:#3daee9;">}}}</span><span style="font-weight:bold;"></div></span> 0061 <span style="font-weight:bold;"><div</span><span style="color:#27ae60;"> class</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"body"</span><span style="font-weight:bold;">></span><span style="color:#3daee9;">{{{</span>body<span style="color:#3daee9;">}}}</span><span style="font-weight:bold;"></div></span> 0062 <span style="color:#8e44ad;font-weight:bold;">{{/with}}</span> 0063 <span style="color:#8e44ad;font-weight:bold;">{{#each</span> comments<span style="color:#8e44ad;font-weight:bold;">}}</span> 0064 <span style="font-weight:bold;"><div</span><span style="color:#27ae60;"> class</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"comment"</span><span style="font-weight:bold;">></span> 0065 <span style="font-weight:bold;"><h2></span><span style="color:#27aeae;">{{</span>subject<span style="color:#27aeae;">}}</span><span style="font-weight:bold;"></h2></span> 0066 <span style="color:#3daee9;">{{{</span>body<span style="color:#3daee9;">}}}</span> 0067 <span style="font-weight:bold;"></div></span> 0068 <span style="color:#8e44ad;font-weight:bold;">{{/each}}</span> 0069 <span style="color:#8e44ad;font-weight:bold;">{{#list</span> nav<span style="color:#8e44ad;font-weight:bold;">}}</span> 0070 <span style="font-weight:bold;"><a</span><span style="color:#27ae60;"> href</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"</span><span style="color:#27aeae;">{{</span>url<span style="color:#27aeae;">}}</span><span style="color:#f44f4f;">"</span><span style="font-weight:bold;">></span><span style="color:#27aeae;">{{</span>title<span style="color:#27aeae;">}}</span><span style="font-weight:bold;"></a></span> 0071 <span style="color:#8e44ad;font-weight:bold;">{{/list}}</span> 0072 0073 <span style="color:#7a7c7d;">{{!-- Conditionals --}}</span> 0074 <span style="color:#8e44ad;font-weight:bold;">{{#if</span> isActive<span style="color:#8e44ad;font-weight:bold;">}}</span> 0075 <span style="font-weight:bold;"><img</span><span style="color:#27ae60;"> src</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"star.gif"</span><span style="color:#27ae60;"> alt</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"Active"</span><span style="font-weight:bold;">></span> 0076 <span style="color:#8e44ad;font-weight:bold;">{{else if</span> isInactive<span style="color:#8e44ad;font-weight:bold;">}}</span> 0077 <span style="font-weight:bold;"><img</span><span style="color:#27ae60;"> src</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"cry.gif"</span><span style="color:#27ae60;"> alt</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"Inactive"</span><span style="font-weight:bold;">></span> 0078 <span style="color:#8e44ad;font-weight:bold;">{{else}}</span> 0079 <span style="font-weight:bold;"><img</span><span style="color:#27ae60;"> src</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"cry.gif"</span><span style="color:#27ae60;"> alt</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">""</span><span style="font-weight:bold;">></span> 0080 <span style="color:#8e44ad;font-weight:bold;">{{/if}}</span> 0081 0082 <span style="color:#7a7c7d;">{{!-- Escaping --}}</span> 0083 \{{escaped}} 0084 <span style="color:#8e44ad;font-weight:bold;">{{{{raw}}}}</span> 0085 {{escaped}} 0086 <span style="color:#8e44ad;font-weight:bold;">{{{{/raw}}}}</span> 0087 0088 <span style="color:#7a7c7d;">{{!-- Whitespace Control --}}</span> 0089 <span style="color:#8e44ad;font-weight:bold;">{{#each</span> nav ~<span style="color:#8e44ad;font-weight:bold;">}}</span> 0090 <span style="font-weight:bold;"><a</span><span style="color:#27ae60;"> href</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"</span><span style="color:#27aeae;">{{</span>url<span style="color:#27aeae;">}}</span><span style="color:#f44f4f;">"</span><span style="font-weight:bold;">></span> 0091 <span style="color:#8e44ad;font-weight:bold;">{{~#if</span> test<span style="color:#8e44ad;font-weight:bold;">}}</span> 0092 <span style="color:#27aeae;">{{</span>~title<span style="color:#27aeae;">}}</span> 0093 <span style="color:#8e44ad;font-weight:bold;">{{~^</span>~<span style="color:#8e44ad;font-weight:bold;">}}</span> 0094 Empty 0095 <span style="color:#8e44ad;font-weight:bold;">{{~/if</span>~<span style="color:#8e44ad;font-weight:bold;">}}</span> 0096 <span style="font-weight:bold;"></a></span> 0097 <span style="color:#8e44ad;font-weight:bold;">{{~/each}}</span> 0098 0099 <span style="color:#7a7c7d;">{{!-- Helpers --}}</span> 0100 <span style="color:#27aeae;">{{link</span> <span style="color:#f44f4f;">"See more..."</span> story<span style="color:#3f8058;">.</span>url<span style="color:#27aeae;">}}</span> 0101 <span style="color:#27aeae;">{{log</span> <span style="color:#f44f4f;">"Look at me!"</span><span style="color:#27ae60;"> level</span><span style="color:#3f8058;">=</span><span style="color:#f44f4f;">"error"</span><span style="color:#27aeae;">}}</span> 0102 0103 <span style="color:#7a7c7d;">{{!-- Partial --}}</span> 0104 <span style="color:#27aeae;">{{></span><span style="color:#3daee9;"> myPartial</span><span style="color:#27ae60;"> name</span><span style="color:#3f8058;">=..</span><span style="color:#3daee9;">/name </span><span style="color:#27aeae;">}}</span> 0105 <span style="color:#8e44ad;font-weight:bold;">{{#> myPartial</span> <span style="color:#8e44ad;font-weight:bold;">}}</span> 0106 Failover content 0107 <span style="color:#8e44ad;font-weight:bold;">{{/myPartial}}</span> 0108 <span style="color:#8e44ad;font-weight:bold;">{{#*inline</span> <span style="color:#f44f4f;">"myPartial"</span><span style="color:#8e44ad;font-weight:bold;">}}</span> 0109 My Content 0110 <span style="color:#8e44ad;font-weight:bold;">{{/inline}}</span> 0111 <span style="color:#8e44ad;font-weight:bold;">{{#each</span> children<span style="color:#8e44ad;font-weight:bold;">}}</span> 0112 <span style="color:#27aeae;">{{></span><span style="color:#3daee9;"> myPartial</span><span style="color:#27aeae;">}}</span> 0113 <span style="color:#8e44ad;font-weight:bold;">{{/each}}</span> 0114 0115 <span style="color:#7a7c7d;"><!-- Delimiters in tags (folding) --></span> 0116 word<span style="font-weight:bold;"><div></span>word 0117 0118 word<span style="font-weight:bold;"></div></span>word 0119 0120 <span style="font-weight:bold;"></body></span> 0121 <span style="font-weight:bold;"></html></span> 0122 </pre></body></html>