@@ -221,12 +221,12 @@ export const enum AttributeMarker {
221221 * ## Example:
222222 *
223223 * Given:
224- * ```
225- * <div class="foo bar baz">...<d/vi >
224+ * ```html
225+ * <div class="foo bar baz">...</div >
226226 * ```
227227 *
228228 * the generated code is:
229- * ```
229+ * ```ts
230230 * var _c1 = [AttributeMarker.Classes, 'foo', 'bar', 'baz'];
231231 * ```
232232 */
@@ -240,12 +240,12 @@ export const enum AttributeMarker {
240240 * ## Example:
241241 *
242242 * Given:
243- * ```
243+ * ```html
244244 * <div style="width:100px; height:200px; color:red">...</div>
245245 * ```
246246 *
247247 * the generated code is:
248- * ```
248+ * ```ts
249249 * var _c1 = [AttributeMarker.Styles, 'width', '100px', 'height'. '200px', 'color', 'red'];
250250 * ```
251251 */
@@ -256,13 +256,13 @@ export const enum AttributeMarker {
256256 *
257257 * For example, given the following HTML:
258258 *
259- * ```
259+ * ```html
260260 * <div moo="car" [foo]="exp" (bar)="doSth()">
261261 * ```
262262 *
263263 * the generated code is:
264264 *
265- * ```
265+ * ```ts
266266 * var _c1 = ['moo', 'car', AttributeMarker.Bindings, 'foo', 'bar'];
267267 * ```
268268 */
@@ -273,7 +273,7 @@ export const enum AttributeMarker {
273273 *
274274 * For example, given the following HTML:
275275 *
276- * ```
276+ * ```html
277277 * <div *ngFor="let value of values; trackBy:trackBy" dirA [dirB]="value">
278278 * ```
279279 *
@@ -298,7 +298,7 @@ export const enum AttributeMarker {
298298 *
299299 * For example, given the following HTML:
300300 *
301- * ```
301+ * ```html
302302 * <h1 attr="value" ngProjectAs="[title]">
303303 * ```
304304 *
@@ -315,14 +315,15 @@ export const enum AttributeMarker {
315315 *
316316 * For example, given the following HTML:
317317 *
318- * ```
318+ * ```html
319319 * <div moo="car" foo="value" i18n-foo [bar]="binding" i18n-bar>
320320 * ```
321321 *
322322 * the generated code is:
323323 *
324- * ```
324+ * ```ts
325325 * var _c1 = ['moo', 'car', AttributeMarker.I18n, 'foo', 'bar'];
326+ * ```
326327 */
327328 I18n = 6 ,
328329}
0 commit comments