aboutsummaryrefslogtreecommitdiffstats
path: root/docs/validator.template
diff options
context:
space:
mode:
Diffstat (limited to 'docs/validator.template')
-rw-r--r--docs/validator.template14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/validator.template b/docs/validator.template
index 2d5d4bc9..124f35b9 100644
--- a/docs/validator.template
+++ b/docs/validator.template
@@ -25,9 +25,15 @@ angular.validator.{{shortName}}({{paramFirst.name}}{{#paramRest}}{{^default}}, {
<h3>CSS</h3>
{{{css}}}
+{{#example}}
<h2>Example</h2>
{{{exampleDescription}}}
-
-<WIKI:SOURCE style="display:block;">
-{{{example}}}
-</WIKI:SOURCE> \ No newline at end of file
+<doc:example>
+ <doc:source>
+{{/example}}
+ {{{example}}}
+{{#example}}
+ </doc:source>
+ <doc:scenario>{{{scenario}}}</doc:scenario>
+</doc:example>
+{{/example}}