diff --git a/_includes/example-api-description.md b/_includes/example-api-description.md index 127144e..23bfb77 100644 --- a/_includes/example-api-description.md +++ b/_includes/example-api-description.md @@ -1,18 +1,15 @@ # {{ include.name }} -{% assign json_file = include.name | append: ".json" %} -{% assign yaml_file = include.name | append: ".yaml" %} - {{ include.description }} ## JSON ```json -{% include_relative {{ json_file }} %} +{% include_relative {{ include.name | append: ".json" }} %} ``` ## YAML ```yaml -{% include_relative {{ yaml_file }} %} +{% include_relative {{ include.name | append: ".yaml" }} %} ``` diff --git a/_sass/custom/custom.scss b/_sass/custom/custom.scss index eb8d500..82921f9 100644 --- a/_sass/custom/custom.scss +++ b/_sass/custom/custom.scss @@ -2,7 +2,11 @@ object { width: 100%; } - .nav-list .nav-list-item .nav-list-expander { color: #1d781d !important; -} \ No newline at end of file +} + +.highlight .err { + color: inherit; + background-color: inherit; +}