\n
Test Code Page
\n
<code-tabs>
\n
No linenums at code-tabs level
\n
\n \n class {\n foo(param: string) {}\n }\n \n <h1>Heading</h1>\n { \"key\": \"value\" }\n\n
\n
linenums=true at code-tabs level
\n
\n \n class {\n foo(param: string) {}\n }\n \n <h1>Heading</h1>\n { \"key\": \"value\" }\n\n
\n
No linenums at code-tabs level; linenums=true for second HTML pane
\n
\n \n class {\n foo(param: string) {}\n }\n \n <h1>Heading</h1>\n { \"key\": \"value\" }\n\n
\n
<code-example>
\n
One line.
\n
const foo = 'bar'\n
Multi-line, linenums=true.
\n
\n<hero-details nghost-pmm-5>\n <h2 ngcontent-pmm-5>Bah Dah Bing</h2>\n <hero-team ngcontent-pmm-5 nghost-pmm-6>\n <h3 _ngcontent-pmm-6>Headless Team</h3>\n </hero-team>\n</hero-details>\n\n
Default linenums (false).
\n
\n<hero-details nghost-pmm-5>\n <h2 ngcontent-pmm-5>Mister Fantastic</h2>\n <hero-team ngcontent-pmm-5 nghost-pmm-6>\n <h3 _ngcontent-pmm-6>Headless Team</h3>\n </hero-team>\n</hero-details>\n\n
Header on this one.
\n
\n <hero-details nghost-pmm-5>\n <h2 ngcontent-pmm-5>Mister Fantastic</h2>\n <hero-team ngcontent-pmm-5 nghost-pmm-6>\n <h3 _ngcontent-pmm-6>Winning Team</h3>\n </hero-team>\n </hero-details>\n\n
An \"avoid\" header on this one.
\n
\n <hero-details nghost-pmm-5>\n <h2 ngcontent-pmm-5>Mister Fantastic</h2>\n <hero-team ngcontent-pmm-5 nghost-pmm-6>\n <h3 _ngcontent-pmm-6>Losing Team</h3>\n </hero-team>\n </hero-details>\n\n
Backticked code blocks
\n
\n <hero-details>\n <h2>Mister Fantastic</h2>\n <hero-team>\n <h3>Losing Team</h3>\n </hero-team>\n </hero-details>\n\n
<live-example>
\n
Plain live-example
\nTry this
.\n
live-example with title atty
\n
\n
live-example with title body
\n
Try this great example\n
live-example with name
\n
\n
live-example with spacey name and stackblitz
\n
\n
live-example with name and stackblitz but no download
\n
\n
live-example embedded with name and stackblitz
\n
\n
More text follows ...
\n
Getting Started Widgets
\n
Interpolation
\n
\n
Property Binding
\n
\n
Event Binding
\n
\n
NgIf
\n
\n
NgFor
\n
\n\n \n
\n\n\n"
}