diff --git a/components/ui/MarkdownContent/MarkdownContent.module.scss b/components/ui/MarkdownContent/MarkdownContent.module.scss index 859941a877..9bd45008ec 100644 --- a/components/ui/MarkdownContent/MarkdownContent.module.scss +++ b/components/ui/MarkdownContent/MarkdownContent.module.scss @@ -4,6 +4,10 @@ @import "./stylesheets/table.scss"; .markdownBody { + a { + text-decoration: underline; + } + summary { outline: none; @@ -24,6 +28,13 @@ } } + /* For REST pages which have Parameters and Code Samples h4 headings that are also links. */ + h4 { + a { + text-decoration: none; + } + } + h1, h2, h3, diff --git a/includes/rest_operation.html b/includes/rest_operation.html index 507322ddb1..2b2525a1a2 100644 --- a/includes/rest_operation.html +++ b/includes/rest_operation.html @@ -31,9 +31,9 @@ --> accept - string - header - + string + header +

{%- if operation.hasRequiredPreviews -%} This API is under preview and subject to change. {%- else -%} Setting to @@ -52,9 +52,9 @@ {%- for param in operation.parameters -%} {{ param.name }} - {{ param.schema.type }} - {{ param.in }} - + {{ param.schema.type }} + {{ param.in }} + {{ param.descriptionHTML }} {%- if param.schema.default != nil -%} Default: {{ param.schema.default }} {%- endif -%} @@ -63,9 +63,9 @@ {%- endfor -%} {%- for bodyParam in operation.bodyParameters -%} {{ bodyParam.name }} - {{ bodyParam.type }} - {{ bodyParam.in }} - + {{ bodyParam.type }} + {{ bodyParam.in }} + {{ bodyParam.description }} {%- if bodyParam.default != nil -%} Default: {{ bodyParam.default }} {%- endif -%} @@ -95,10 +95,10 @@ {%- for childParam in childParamsGroup.params -%} - + {{ childParam.name }} ({{ childParam.type }}) - {{ childParam.description }} + {{ childParam.description }} {%- endfor -%}