Turbo CSS support.
The code will be transpiled to
sjs-4 before being executed,
thus you can use the API of the
Source mapping is not implemented yet. When an error is encountered, the row will be reported correctly, while the column (char position) will be incorrect.
There are only a couple of syntax elements to be aware of:
<? ... ?>,
<?= foo ?>,
<?== foo ?>,
Write HTML escaped output to the output buffer.
Write raw unescaped output to the output buffer.
Embed JS for control flow, no output.
You can call print() to write to the output buffer.
Closing tag is optional.
Empty code block is fine.
The line number is reported correctly, the column number incorrectly.
Spaces must be used between
<? and the comment
Use Turbo CSS to style elements.
Import and use a Turbo CSS library.
Feed the Turbo CSS compiler via the
prefix is not required.
Mix Turbo CSS classes with other classes on the same element by separating them with a semicolon (;).