diff options
| author | Igor Minar | 2010-11-05 21:12:37 -0700 |
|---|---|---|
| committer | Igor Minar | 2010-11-09 22:27:31 -0800 |
| commit | 324694a58b6d0ed33e05b511be4767573d9187dd (patch) | |
| tree | 0b7243e721da17e9b5c5a1111ed9c0d28829b309 /docs/formatter.template | |
| parent | effcd340e9d41a2ab8368e4de06a1a83a206ac32 (diff) | |
| download | angular.js-324694a58b6d0ed33e05b511be4767573d9187dd.tar.bz2 | |
Better example widget
- syntax highlighting
- tabless design
- rename widget to doc:example
- rename widget files (wiki_widget.* -> doc_widget.*)
- example section is now optional
Diffstat (limited to 'docs/formatter.template')
| -rw-r--r-- | docs/formatter.template | 15 |
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}} |
