@@ -1176,7 +1176,7 @@ __Option 1)__ Disable whitespace removal using the `compiler-options` tag:
__Option 2)__ Disable whitespace removal using the `c-whitespace` attribute:
-```html
+```xml

@@ -1222,7 +1222,7 @@ The above module can then be imported into a template as shown in the following
_src/template.marko_:
-```html
+```xml
${util.reverse('reverse test')}
@@ -1248,7 +1248,7 @@ template.render({
Usage inside template:
-```html
+```xml
${data.reverse('reverse test')}
```
@@ -1266,7 +1266,7 @@ template.render({
Given the following template:
-```html
+```xml
Hello ${out.global.name}!
@@ -1274,7 +1274,7 @@ Given the following template:
The output would be the following:
-```html
+```xml
Hello Frank
@@ -1286,7 +1286,7 @@ Marko supports extending the language with custom tags and attributes. A custom
Below illustrates how to use a simple custom tag:
-```html
+```xml
@@ -1294,7 +1294,7 @@ Below illustrates how to use a simple custom tag:
The output of the above template might be the following:
-```html
+```xml
Hello World!
@@ -1317,7 +1317,7 @@ template.render({
}, ...);
```
-```html
+```xml
@@ -1345,7 +1345,7 @@ Marko provides a `layout` taglib to support separating out layout from content.
_default-layout.marko:_
-```html
+```xml
@@ -1370,7 +1370,7 @@ _default-layout.marko:_
_Usage of `default-layout.marko`:_
-```html
+```xml
My Page
BODY CONTENT
@@ -1541,7 +1541,7 @@ _NOTE: It is not necessary to declare the `renderer` since the scanner will auto
It is often necessary for tags to have a parent/child or ancestor/descendent relationship. For example:
-```html
+```xml
Content for Home
@@ -1606,7 +1606,7 @@ Finally, the template to render the `` component will be similar to the
___ui-tabs/template.marko___
-```html
+```xml
-
@@ -1625,7 +1625,7 @@ ___ui-tabs/template.marko___
Below is an example of using nested tags that are not repeated:
-```html
+```xml