-
Notifications
You must be signed in to change notification settings - Fork 26.6k
Closed
Description
The API template does not render code blocks with the doc viewer's <aio-code>
tags as happens when guide authors write <code-example>
and <code-tabs>
.
Therefore, API code snippets are not pretty-printed and rendered as they are in the guide pages. The likely solution is for dgeni to transform those snippets appropriately.
Tangentially, what would dgeni do if an author used backtick markdown inside a guide page rather than the prescribed <code-example>
(or <aio-code>
) technique?
I'm submitting a ... (check one with "x")
[ ] bug report => search github for a similar issue or PR before submitting
[x] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Unable to style api page code snippets
Expected behavior
To use <aio-code>
component for consistency across the site
Metadata
Metadata
Assignees
Labels
No labels