Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8695138

Browse files
committed
docs(misc/contribute): fix syntax highlighting of URLS
Closes #8168 Closes #8169
1 parent ed56872 commit 8695138

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/app/assets/css/prettify-theme.css

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
line-height: 1.5;
77
}
88

9+
.lang-text * {
10+
color: #333333!important;
11+
}
12+
913
.pln {
1014
color: #333333;
1115
}

docs/content/misc/contribute.ngdoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ minified AngularJS files:
6262

6363
```shell
6464
# Clone your Github repository:
65-
git clone [email protected]:<github username>/angular.js.git
65+
git clone "[email protected]:<github username>/angular.js.git"
6666

6767
# Go to the AngularJS directory:
6868
cd angular.js
6969

7070
# Add the main AngularJS repository as an upstream remote to your repository:
71-
git remote add upstream https://github.com/angular/angular.js.git
71+
git remote add upstream "https://github.com/angular/angular.js.git"
7272

7373
# Install node.js dependencies:
7474
npm install
@@ -126,13 +126,13 @@ made available a local web server based on Node.js.
126126
```
127127

128128
2. To access the local server, enter the following URL into your web browser:
129-
```
129+
```text
130130
http://localhost:8000/
131131
```
132132
By default, it serves the contents of the AngularJS project directory.
133133

134134
3. To access the locally served docs, visit this URL:
135-
```
135+
```text
136136
http://localhost:8000/build/docs/
137137
```
138138

@@ -165,7 +165,7 @@ change. To execute tests in this mode run:
165165
2. To capture more browsers, open this URL in the desired browser (URL might be different if you have multiple instance
166166
of Karma running, read Karma's console output for the correct URL):
167167

168-
```shell
168+
```text
169169
http://localhost:9876/
170170
```
171171

0 commit comments

Comments
 (0)