From fbc3fe10cf4c9d9a3c2eebd02de60be3ede29540 Mon Sep 17 00:00:00 2001
From: Matthew Evans <7916000+ml-evs@users.noreply.github.com>
Date: Thu, 9 Nov 2023 13:38:52 +0000
Subject: [PATCH] Fix rendering of enum and slot details (#44)
---
docs/source/_templates/enum.md.jinja2 | 2 ++
docs/source/_templates/slot.md.jinja2 | 2 ++
2 files changed, 4 insertions(+)
diff --git a/docs/source/_templates/enum.md.jinja2 b/docs/source/_templates/enum.md.jinja2
index 56ee5576..f72f38b7 100644
--- a/docs/source/_templates/enum.md.jinja2
+++ b/docs/source/_templates/enum.md.jinja2
@@ -45,7 +45,9 @@ _This is a dynamic enum_
## LinkML Source
+
```yaml
{{gen.yaml(element)}}
```
+
diff --git a/docs/source/_templates/slot.md.jinja2 b/docs/source/_templates/slot.md.jinja2
index be451803..d40fa729 100644
--- a/docs/source/_templates/slot.md.jinja2
+++ b/docs/source/_templates/slot.md.jinja2
@@ -94,9 +94,11 @@ URI: {{ gen.uri_link(element) }}
## LinkML Source
+
```yaml
{{ gen.yaml(element) }}
```
+
{%- if footer -%}