diff --git a/layouts/api/list.html b/layouts/api/list.html index de08952..24caf4d 100644 --- a/layouts/api/list.html +++ b/layouts/api/list.html @@ -1,4 +1,5 @@ {{ define "schema" }} + {{ with .description }}
{{ . }}
{{ end }} {{ with .element }} {{ with $.name }} diff --git a/themes/strimertul/assets/scss/api.scss b/themes/strimertul/assets/scss/api.scss index 401b464..fa45c8e 100644 --- a/themes/strimertul/assets/scss/api.scss +++ b/themes/strimertul/assets/scss/api.scss @@ -75,6 +75,18 @@ .schema { margin-top: 1rem; + code > ul:first-of-type > li > blockquote { + padding-top: 0; + } + blockquote { + margin: 0; + padding: 0; + padding-top: 0.5rem; + color: $gray9; + &::before { + content: "// "; + } + } .nameblock { display: none; }