aboutsummaryrefslogtreecommitdiffstats
path: root/docs/formatter.template
diff options
context:
space:
mode:
Diffstat (limited to 'docs/formatter.template')
-rw-r--r--docs/formatter.template15
1 files changed, 12 insertions, 3 deletions
diff --git a/docs/formatter.template b/docs/formatter.template
index 19611ca1..dd8fcb99 100644
--- a/docs/formatter.template
+++ b/docs/formatter.template
@@ -19,6 +19,15 @@ var modelValue = angular.formatter.{{shortName}}.parse(userInputString);
<h3>CSS</h3>
{{{css}}}
-<WIKI:SOURCE style="display:block;">
-{{{example}}}
-</WIKI:SOURCE> \ No newline at end of file
+{{#example}}
+<h2>Example</h2>
+{{{exampleDescription}}}
+<doc:example>
+ <doc:source>
+{{/example}}
+ {{{example}}}
+{{#example}}
+ </doc:source>
+ <doc:scenario>{{{scenario}}}</doc:scenario>
+</doc:example>
+{{/example}}