improve display of event subtypes

This commit is contained in:
Hubert Chathi 2022-10-12 15:49:21 -04:00
parent 1cdfbd3cd8
commit 99cd692ed0
5 changed files with 20 additions and 18 deletions

View file

@ -0,0 +1,8 @@
{{ $example_content := partial "json-schema/resolve-refs" (dict "schema" .example "path" "event-schemas/examples") }}
{{ $example_json := jsonify (dict "indent" " ") $example_content }}
{{ $example_json = replace $example_json "\\u003c" "<" }}
{{ $example_json = replace $example_json "\\u003e" ">" | safeHTML }}
```json
{{ $example_json }}
```