Skip to content

Commit c67b3f9

Browse files
committed
docs(architecture): minor adjustments
Minor adjustments, in particular, gets rid of custom styling in favor of using plain markdown for pipe example. This fixes the layout for some displays. Followup to angular#2990
1 parent b6b3ffc commit c67b3f9

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

public/docs/ts/latest/guide/architecture.jade

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ block includes
33
- var _library_module = 'library module'
44
- var _at_angular = '@angular'
55

6-
:marked
7-
Angular is a framework for building client applications in HTML and
8-
either JavaScript or a language like TypeScript that compiles to JavaScript.
9-
10-
block angular-parts
6+
block angular-intro
117
:marked
8+
Angular is a framework for building client applications in HTML and
9+
either JavaScript or a language like TypeScript that compiles to JavaScript.
10+
1211
The framework consists of several libraries, some of them core and some optional.
1312

1413
:marked
@@ -568,15 +567,15 @@ block registering-providers
568567
by implementing the lifecycle hook interfaces.
569568

570569
> [**Pipes**](pipes.html): Use pipes in your templates to improve the user experience by transforming values for display. Consider this `currency` pipe expression:
571-
<div style="margin-left:40px">
572-
code-example().
573-
price | currency:'USD':true
574-
</div>
575-
:marked
576-
> It displays a price of "42.33" as `$42.33`.
570+
>
571+
> > `price | currency:'USD':true`
572+
>
573+
> It displays a price of 42.33 as `$42.33`.
577574

578575
> [**Router**](router.html): Navigate from page to page within the client
579576
application and never leave the browser.
580577

581-
> [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework
582-
using the _Angular Testing Platform_.
578+
block angular-feature-testing
579+
:marked
580+
> [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework
581+
using the _Angular Testing Platform_.

0 commit comments

Comments
 (0)