Missing @ breaks syntax highlighting
In Multiple content placeholders, the example is missing the @ prefix required by Component Decorator. This causes broken syntax highlighting.
Section:
https://next.angular.dev/guide/components/content-projection#multiple-content-placeholders
Issue:
An example uses syntax without the required @ (for decorator ) , which results in incorrect highlighting.
ng-content can be self-closing in aliasing example
In Aliasing content for projection, the documentation currently uses a non-self-closing <ng-content> tag. This can be simplified and aligned with common usage by using a self-closing tag.
Section:
https://next.angular.dev/guide/components/content-projection#aliasing-content-for-projection
Suggestion:
Use self-closing ng-content

Missing
@breaks syntax highlightingIn Multiple content placeholders, the example is missing the
@prefix required by Component Decorator. This causes broken syntax highlighting.Section:
https://next.angular.dev/guide/components/content-projection#multiple-content-placeholders
Issue:
An example uses syntax without the required
@(for decorator ) , which results in incorrect highlighting.ng-contentcan be self-closing in aliasing exampleIn Aliasing content for projection, the documentation currently uses a non-self-closing
<ng-content>tag. This can be simplified and aligned with common usage by using a self-closing tag.Section:
https://next.angular.dev/guide/components/content-projection#aliasing-content-for-projection
Suggestion:
Use self-closing
ng-content