improve display of event subtypes
This commit is contained in:
parent
1cdfbd3cd8
commit
99cd692ed0
5 changed files with 20 additions and 18 deletions
8
layouts/partials/events/example.html
Normal file
8
layouts/partials/events/example.html
Normal 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 }}
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue