5 Commits

Author SHA1 Message Date
Peter Bacon Darwin
04fb29b589 test(aio): add test for escaped newline in CodeComponent 2017-04-11 16:03:21 -07:00
Peter Bacon Darwin
9037593ab8 fix(aio): left align code in aio-code components 2017-04-11 16:03:21 -07:00
Ward Bell
309bae0a0b feat(aio): display “code sample missing” message when no code sample
Not having code in a `<code-example>` or `<code-tabs>` is presumed to be an error.
Hides the copy button as well.
2017-04-02 22:37:16 +01:00
Peter Bacon Darwin
34a1990c57 fix(aio): trim code blocks before rendering 2017-04-02 11:40:40 +01:00
Ward Bell
837ed788f4 feat(aio): add code-example and code-tabs
* move embedded components to EmbeddedModule
* add PrettyPrint service; load pretty print js dynamically
* make code-example to syntax highlighting w/ `prettyPrintOne`
* add code-tabs
* Implement copy code button
2017-03-27 12:25:34 +01:00