Back to Codemirror5

CodeMirror

mode/soy/index.html

5.65.21442 B
Original Source

Soy (Closure Template) mode

{namespace example} /** * Says hello to the world. */ {template .helloWorld} {@param name: string} {@param? score: number} Hello {$name}! {if $score} {$score} points {else} no score {/if} {/template} {template .alertHelloWorld kind="js"} alert('Hello World'); {/template}

A mode for Closure Templates (Soy).

MIME type defined: text/x-soy.