Starter Lab Productions Play
Project Docs Github
Log in
ittf site docs concepts t overview jswizzi.html.ittf Edit
  • /ittf/site/docs/concepts/t/overview/jswizzi.html.ittf
  • /ittf/site/docs/concepts/t/section.html.ittf
  • /ittf/site/docs/t/high-code.html.ittf

/ittf/site/docs/concepts/t/overview/jswizzi.html.ittf (primary)

edit
                                            
1 $group
2 $
3 var sect = {
4 title: 'JsWizzi'
5 };
6 section( §)
7 p JsWizzi is the script engine used for templating ITTF Documents.
8 p Scripts can be used to manipulate node structure and
9 \b to interpolate node names and values.
10 ittf-panel
11 schema html
12 ittf
13 ...
14 div
15 ${'$'} var i = 0
16 ${'$'}while i < 5
17 p Hello number ${'$'}{i}
18 ${'$'} i++
19 p JsWizzi is a customized
20 \b subset of the ECMA-262 javascript standard, sandboxed, and tailored
21 \b for ITTF processing.
22 \b It is built on the <a href="https://babeljs.io//">babel</a> parser
23 \b and is run by a custom javascript engine (
24 high-code( JsWizziRunner )
25 + ).

/ittf/site/docs/concepts/t/section.html.ittf

edit
                                            
1 $group
2 $params §
3 article
4 . doc-title
5 id ${sect.id}
6 + ${sect.title}
7 . doc-summary
8 $hook

/ittf/site/docs/t/high-code.html.ittf

edit
                                            
1 $group
2 $params text, kind|@@null
3 $if kind != 'nospace'
4 span ${} ${}
5 code
6 class highlight-code
7 + ${text}
8 $if kind != 'nospace'
9 span ${} ${}
Save
Save & Refresh
Cancel