mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-01-25 16:43:44 +01:00
The templating system now parses event schemas into a form which can be easily dumped into multiple tables (for nested object types)
10 lines
163 B
Cheetah
10 lines
163 B
Cheetah
``{{event.type}}``
|
|
{{(4 + event.type | length) * '-'}}
|
|
{{event.desc}}
|
|
|
|
{{event.content_fields | jsonify(4,4)}}
|
|
|
|
Example::
|
|
|
|
{{example.content | jsonify(4, 4)}}
|