fix(aio): fix code highlight in API docs templates (#21630)
Fixes #21108 PR Close #21630
This commit is contained in:

committed by
Miško Hevery

parent
97b18b2a5c
commit
b2e902deb4
@ -29,7 +29,7 @@
|
||||
{%- macro renderMemberDetail(member, cssClass) -%}
|
||||
<div class="{$ cssClass $}">
|
||||
<a id="{$ member.anchor $}"></a>
|
||||
<code-example hideCopy="true" class="no-box api-heading">{$ renderMember(member) $}</code-example>
|
||||
<code-example language="ts" hideCopy="true" class="no-box api-heading">{$ renderMember(member) $}</code-example>
|
||||
{%- if not member.notYetDocumented %}
|
||||
{$ member.description | marked $}
|
||||
{% endif -%}
|
||||
@ -57,4 +57,4 @@
|
||||
{% endif %}{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
{% endmacro %}
|
||||
{% endmacro %}
|
||||
|
Reference in New Issue
Block a user