Code Block
There are 3 ways to provide the code:
- Providing content as a child (inside slot)
- Get remote content from a URL
- Providing content in a attribute
Providing content as a child (inside slot)
Properties:
foo = bar
JavaScript:
const foo = "bar";
Java:
private String foo = "bar";
XML:
<foo>
bar
</foo>
Json:
{
"foo":"bar"
}
Yaml:
---
foo: 'bar'
SQL:
select foo from bar;
Get remote content from a URL
Properties:
JavaScript:
Java:
XML:
Json:
Yaml:
SQL:
Provide content in an attribute
Properties:
JavaScript:
Java:
XML:
Json:
Yaml:
SQL: