Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 86dce52

Browse files
authored
chore(aio): no more anchors followed immediately by md header (#3489)
1 parent 914823a commit 86dce52

File tree

8 files changed

+23
-11
lines changed

8 files changed

+23
-11
lines changed

public/docs/ts/latest/cookbook/dependency-injection.jade

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,8 @@ a(id="find-parent")
697697

698698
This section describes some techniques for doing that.
699699

700-
<a id="known-parent"></a>
700+
a#known-parent
701+
:marked
701702
### Find a parent component of known type
702703

703704
You use standard class injection to acquire a parent component whose type you know.
@@ -715,7 +716,8 @@ a(id='alex')
715716
the <live-example name="cb-dependency-injection"></live-example>
716717
confirms that the `alex` parameter is set.
717718

718-
<a id="base-parent"></a>
719+
a#base-parent
720+
:marked
719721
### Cannot find a parent by its base class
720722

721723
What if you *don't* know the concrete parent component class?
@@ -752,7 +754,9 @@ a(id='alex')
752754
confirms that the `alex` parameter is null.
753755
*You cannot inject a parent by its base class.*
754756

755-
<a id="class-interface-parent"></a>
757+
758+
a#class-interface-parent
759+
:marked
756760
### Find a parent by its class-interface
757761

758762
You can find a parent component with a [class-interface](#class-interface).

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ a#feature-modules
558558
In the next section, you'll carve the contact functionality out of the root module
559559
and into a dedicated feature module.
560560

561-
<a id="contact-module-v1"></a>
561+
a#contact-module-v1
562+
:marked
562563
### Make _Contact_ a feature module
563564
<!-- CF: Is "Contact" a proper noun in this context? -->
564565

@@ -860,7 +861,8 @@ a#shared-module
860861
The `TitleComponent` is used only once by the `AppComponent`.
861862
There's no point in sharing it.
862863

863-
<a id="no-shared-module-providers"></a>
864+
a#no-shared-module-providers
865+
:marked
864866
### Why _UserService_ isn't shared
865867

866868
While many components share the same service instances,

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,8 @@ figure.image-display
311311
With that concern in mind, implement an impure pipe with great care.
312312
An expensive, long-running pipe could destroy the user experience.
313313

314-
<a id="impure-flying-heroes"></a>
314+
a#impure-flying-heroes
315+
:marked
315316
### An impure *FlyingHeroesPipe*
316317

317318
A flip of the switch turns the `FlyingHeroesPipe` into a `FlyingHeroesImpurePipe`.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ figure.image-display
131131
[An Introduction to Content Security Policy](http://www.html5rocks.com/en/tutorials/security/content-security-policy/)
132132
on the HTML5Rocks website.
133133

134-
<a id="offline-template-compiler"></a>
134+
a#offline-template-compiler
135+
:marked
135136
### Use the offline template compiler
136137

137138
The offline template compiler prevents a whole class of vulnerabilities called template injection,

public/docs/ts/latest/guide/server-communication.jade

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ block includes
1414
[Fetch](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API).
1515

1616
The Angular HTTP library simplifies application programming with the **XHR** and **JSONP** APIs.
17+
1718
# Contents
1819

1920
* [Demos](#demos)
@@ -581,7 +582,8 @@ block wikipedia-jsonp+
581582
In this example, the app must always display the results for the *http* search
582583
no matter which response arrives first.
583584

584-
<a id="more-observables"></a>
585+
a#more-observables
586+
:marked
585587
## More fun with Observables
586588

587589
You could make changes to the `WikipediaService`, but for a better

public/docs/ts/latest/guide/typescript-configuration.jade

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ a(id="tsconfig")
2929
:marked
3030
This file contains options and flags that are essential for Angular applications.
3131

32-
<a id="noImplicitAny"></a>
32+
a#noImplicitAny
33+
:marked
3334
### *noImplicitAny* and *suppressImplicitAnyIndexErrors*
3435

3536
TypeScript developers disagree about whether the `noImplicitAny` flag should be `true` or `false`.

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ style.
1313
It's an excellent alternative to the *SystemJS* approach used elsewhere in the documentation.
1414
This guide offers a taste of Webpack and explains how to use it with Angular applications.
1515

16-
<a id="top"></a>
16+
a#top
17+
:marked
1718
# Contents
1819

1920
* [What is Webpack?](#what-is-webpack)

public/docs/ts/latest/tutorial/toh-pt6.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ h1 Providing HTTP Services
426426

427427
Each call to `search()` puts a new string into this subject's _observable_ stream by calling `next()`.
428428

429+
a#ngoninit
429430
:marked
430-
<a id="ngoninit"></a>
431431
#### Initialize the *heroes* property (*ngOnInit*)
432432

433433
A `Subject` is also an `Observable`.

0 commit comments

Comments
 (0)