From 52b062621d3a3f1e10345cf4da05053475657e79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matias=20Niemel=C3=A4?= Date: Fri, 13 Feb 2015 12:04:03 -0500 Subject: [PATCH] Update 01_templates.md --- modules/angular2/docs/core/01_templates.md | 24 +++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) 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 +
+```