diff --git a/modules/angular2/docs/core/01_templates.md b/modules/angular2/docs/core/01_templates.md index 56f322d8bd..3f732c0d0f 100644 --- a/modules/angular2/docs/core/01_templates.md +++ b/modules/angular2/docs/core/01_templates.md @@ -33,10 +33,12 @@ detail in following sections. Text Interpolation -`
{{exp}}
` +```html +
{{exp}}
+``` Example: -``` +```html
Hello {{name}}!
@@ -48,7 +50,7 @@ Example: `
` Example: -``` +```html
@@ -60,18 +62,26 @@ Example: Property Interpolation -`
` +```html +
+``` Example: -`
` +```html +
` +``` -`
` +```html +
+``` Example: -`
` +```html +
+```