@@ -21,7 +21,7 @@ <h1>Getting Started</h1>
21
21
</ mat-card-title >
22
22
< mat-card >
23
23
< mat-card-content fxLayout ="row " fxLayoutAlign ="space-between ">
24
- < pre > < code highlight [code ] ="'$ node -v' "> </ code > </ pre >
24
+ < pre > < code [highlight ] ="'$ node -v' "> </ code > </ pre >
25
25
< button mat-icon-button
26
26
ngxClipboard
27
27
[cbContent] ="'node -v' "
@@ -34,7 +34,7 @@ <h1>Getting Started</h1>
34
34
</ mat-card >
35
35
< mat-card >
36
36
< mat-card-content fxLayout ="row " fxLayoutAlign ="space-between ">
37
- < pre > < code highlight [code ] ="'$ npm -v' "> </ code > </ pre >
37
+ < pre > < code [highlight ] ="'$ npm -v' "> </ code > </ pre >
38
38
< button mat-icon-button
39
39
ngxClipboard
40
40
[cbContent] ="'node -v' "
@@ -56,7 +56,7 @@ <h1>Getting Started</h1>
56
56
</ mat-card-subtitle >
57
57
< mat-card-content >
58
58
< div fxLayout ="row " fxLayoutAlign ="space-between ">
59
- < pre > < code highlight [code ] ="'$ ng -v' "> </ code > </ pre >
59
+ < pre > < code [highlight ] ="'$ ng -v' "> </ code > </ pre >
60
60
< button mat-icon-button
61
61
ngxClipboard
62
62
[cbContent] ="'ng -v' "
@@ -67,13 +67,13 @@ <h1>Getting Started</h1>
67
67
</ div >
68
68
< p > If angular cli is installed on you machine, you should get something like this</ p >
69
69
70
- < pre > < code highlight [code ] ="ngVersion "> </ code > </ pre >
70
+ < pre > < code [highlight ] ="ngVersion "> </ code > </ pre >
71
71
72
72
< p > If not please run the following command to install angular cli globally in order to create an angular
73
73
project</ p >
74
74
75
75
< div fxLayout ="row " fxLayoutAlign ="space-between ">
76
- < pre > < code highlight [code ] ="'$ npm install -g @angular/cli' "> </ code > </ pre >
76
+ < pre > < code [highlight ] ="'$ npm install -g @angular/cli' "> </ code > </ pre >
77
77
< button mat-icon-button
78
78
ngxClipboard
79
79
[cbContent] ="'npm install -g @angular/cli' "
@@ -96,7 +96,7 @@ <h1>Getting Started</h1>
96
96
< p > If you have already a setup angular project, you can skip this step, otherwise you can generate a project
97
97
via the angular cli by running the following</ p >
98
98
< div fxLayout ="row " fxLayoutAlign ="space-between ">
99
- < pre > < code highlight [code ] ="'$ ng new yourappname' "> </ code > </ pre >
99
+ < pre > < code [highlight ] ="'$ ng new yourappname' "> </ code > </ pre >
100
100
< button mat-icon-button
101
101
ngxClipboard
102
102
[cbContent] ="'ng new yourappname' "
@@ -163,7 +163,7 @@ <h1>Getting Started</h1>
163
163
</ p >
164
164
</ div >
165
165
< div fxLayout ="row " fxLayoutAlign ="space-between ">
166
- < pre > < code highlight [code ] ="'$ npm i -s @angular/material @angular/cdk' "> </ code > </ pre >
166
+ < pre > < code [highlight ] ="'$ npm i -s @angular/material @angular/cdk' "> </ code > </ pre >
167
167
< button mat-icon-button
168
168
ngxClipboard
169
169
[cbContent] ="'npm i -s @angular/material @angular/cdk' "
@@ -189,7 +189,7 @@ <h1>Getting Started</h1>
189
189
</ p >
190
190
</ div >
191
191
< div fxLayout ="row " fxLayoutAlign ="space-between ">
192
- < pre > < code highlight [code ] ="'$ npm i -s @angular/animations' "> </ code > </ pre >
192
+ < pre > < code [highlight ] ="'$ npm i -s @angular/animations' "> </ code > </ pre >
193
193
< button mat-icon-button
194
194
ngxClipboard
195
195
[cbContent] ="'npm i -s @angular/animations' "
@@ -210,7 +210,7 @@ <h1>Getting Started</h1>
210
210
</ div >
211
211
< mat-card >
212
212
< mat-card-content >
213
- < pre > < code highlight [code ] ="importBrowserAnimationsModule "> </ code > </ pre >
213
+ < pre > < code [highlight ] ="importBrowserAnimationsModule "> </ code > </ pre >
214
214
</ mat-card-content >
215
215
</ mat-card >
216
216
< mat-card-footer fxLayoutAlign ="center ">
@@ -232,7 +232,7 @@ <h1>Getting Started</h1>
232
232
in your style.css file.</ p >
233
233
</ div >
234
234
< div fxLayout ="row " fxLayoutAlign ="space-between ">
235
- < pre > < code highlight [code ] ="importMaterialThemeSCSS "> </ code > </ pre >
235
+ < pre > < code [highlight ] ="importMaterialThemeSCSS "> </ code > </ pre >
236
236
< button mat-icon-button
237
237
ngxClipboard
238
238
[cbContent] ="importMaterialThemeSCSS "
@@ -262,7 +262,7 @@ <h1>Getting Started</h1>
262
262
< mat-card-subtitle > Custom material theme</ mat-card-subtitle >
263
263
< mat-card-content >
264
264
< div fxLayout ="row " fxLayoutAlign ="space-between ">
265
- < pre > < code highlight [code ] ="customMaterialTheme "> </ code > </ pre >
265
+ < pre > < code [highlight ] ="customMaterialTheme "> </ code > </ pre >
266
266
< button mat-icon-button
267
267
ngxClipboard
268
268
[cbContent] ="customMaterialTheme "
@@ -290,11 +290,11 @@ <h1>Getting Started</h1>
290
290
< p > The easiest way to load the material design icons is to provide the
291
291
following link in your
292
292
< p >
293
- < pre > < code highlight [code ] ="'index.html ' "> </ code > </ pre >
293
+ < pre > < code [highlight ] ="'index.html ' "> </ code > </ pre >
294
294
< p > file </ p >
295
295
</ div >
296
296
< div fxLayout ="row " fxLayoutAlign ="space-between ">
297
- < pre > < code highlight [code ] ="materialIconsLink "> </ code > </ pre >
297
+ < pre > < code [highlight ] ="materialIconsLink "> </ code > </ pre >
298
298
< button mat-icon-button
299
299
ngxClipboard
300
300
[cbContent] ="materialIconsLink "
@@ -319,7 +319,7 @@ <h1>Getting Started</h1>
319
319
mat-button color ="primary "> material design icons' npm module</ a > </ p >
320
320
</ div >
321
321
< div fxLayout ="row " fxLayoutAlign ="space-between ">
322
- < pre > < code highlight [code ] ="'$ npm i -s material-design-icons' "> </ code > </ pre >
322
+ < pre > < code [highlight ] ="'$ npm i -s material-design-icons' "> </ code > </ pre >
323
323
< button mat-icon-button
324
324
ngxClipboard
325
325
[cbContent] ="'npm i -s material-design-icons' "
@@ -331,7 +331,7 @@ <h1>Getting Started</h1>
331
331
< div class ="comment-container ">
332
332
< p > After that, you need to update you
333
333
< p >
334
- < pre > < code highlight [code ] ="'angular-cli.json' "> </ code > </ pre >
334
+ < pre > < code [highlight ] ="'angular-cli.json' "> </ code > </ pre >
335
335
< p > files. Under the styles sections, add
336
336
the path of the material design icons in order to be imported to your distribution files
337
337
when you build your app. < i > See below</ i > </ p >
@@ -341,7 +341,7 @@ <h1>Getting Started</h1>
341
341
</ div >
342
342
< div fxLayout ="row " fxLayoutAlign ="space-between ">
343
343
< pre > < code highlight
344
- [code ] ="'../node_modules/material-design-icons/iconfont/material-icons.css' "> </ code > </ pre >
344
+ [highlight ] ="'../node_modules/material-design-icons/iconfont/material-icons.css' "> </ code > </ pre >
345
345
< button mat-icon-button
346
346
ngxClipboard
347
347
[cbContent] ="'../node_modules/material-design-icons/iconfont/material-icons.css' "
@@ -356,7 +356,7 @@ <h1>Getting Started</h1>
356
356
< mat-card-subtitle > Before</ mat-card-subtitle >
357
357
< div fxLayout ="row " fxLayoutAlign ="space-between ">
358
358
< pre > < code highlight
359
- [code ] ="stylesBeforeImportMDI "> </ code > </ pre >
359
+ [highlight ] ="stylesBeforeImportMDI "> </ code > </ pre >
360
360
< button mat-icon-button
361
361
ngxClipboard
362
362
[cbContent] ="stylesBeforeImportMDI "
@@ -368,7 +368,7 @@ <h1>Getting Started</h1>
368
368
< mat-card-subtitle > After</ mat-card-subtitle >
369
369
< div fxLayout ="row " fxLayoutAlign ="space-between ">
370
370
< pre > < code highlight
371
- [code ] ="stylesAfterImportMDI "> </ code > </ pre >
371
+ [highlight ] ="stylesAfterImportMDI "> </ code > </ pre >
372
372
< button mat-icon-button
373
373
ngxClipboard
374
374
[cbContent] ="stylesAfterImportMDI "
@@ -408,7 +408,7 @@ <h1>Getting Started</h1>
408
408
</ div >
409
409
< div fxLayout ="row " fxLayoutAlign ="space-between ">
410
410
< pre > < code highlight
411
- [code ] ="'$ npm i -s ngx-material-faq' "> </ code > </ pre >
411
+ [highlight ] ="'$ npm i -s ngx-material-faq' "> </ code > </ pre >
412
412
< button mat-icon-button
413
413
ngxClipboard
414
414
[cbContent] ="'npm i -s ngx-material-faq' "
@@ -418,11 +418,11 @@ <h1>Getting Started</h1>
418
418
</ button >
419
419
</ div >
420
420
<!--<div fxLayoutAlign="center">-->
421
- <!--<video *ngIf="true" controls autoplay loop>-->
422
- <!--<source-->
423
- <!--src="assets/tutorials/npm_i_ngx_material_password_strength.mp4"-->
424
- <!--type="video/mp4">-->
425
- <!--</video>-->
421
+ <!--<video *ngIf="true" controls autoplay loop>-->
422
+ <!--<source-->
423
+ <!--src="assets/tutorials/npm_i_ngx_material_password_strength.mp4"-->
424
+ <!--type="video/mp4">-->
425
+ <!--</video>-->
426
426
<!--</div>-->
427
427
< div class ="comment-container ">
428
428
< p > Now you just need to import the library </ p >
@@ -437,7 +437,7 @@ <h1>Getting Started</h1>
437
437
< mat-card-content >
438
438
< div fxLayout ="row " fxLayoutAlign ="space-between ">
439
439
< pre > < code highlight
440
- [code ] ="systemJSModuleImport "> </ code > </ pre >
440
+ [highlight ] ="systemJSModuleImport "> </ code > </ pre >
441
441
< button mat-icon-button
442
442
ngxClipboard
443
443
[cbContent] ="systemJSModuleImport "
@@ -453,7 +453,7 @@ <h1>Getting Started</h1>
453
453
</ div >
454
454
< div fxLayout ="row " fxLayoutAlign ="space-between ">
455
455
< pre > < code highlight
456
- [code ] ="importNgxMaterialFaqModule "> </ code > </ pre >
456
+ [highlight ] ="importNgxMaterialFaqModule "> </ code > </ pre >
457
457
< button mat-icon-button
458
458
ngxClipboard
459
459
[cbContent] ="importNgxMaterialFaqModule "
@@ -472,7 +472,7 @@ <h1>Getting Started</h1>
472
472
</ div >
473
473
< div fxLayout ="row " fxLayoutAlign ="space-between ">
474
474
< pre > < code highlight
475
- [code ] ="importNgxMaterialFaqModuleInAppModule "> </ code > </ pre >
475
+ [highlight ] ="importNgxMaterialFaqModuleInAppModule "> </ code > </ pre >
476
476
< button mat-icon-button
477
477
ngxClipboard
478
478
[cbContent] ="importNgxMaterialFaqModuleInAppModule "
@@ -486,7 +486,7 @@ <h1>Getting Started</h1>
486
486
</ div >
487
487
< div fxLayout ="row " fxLayoutAlign ="space-between ">
488
488
< pre > < code highlight
489
- [code ] ="importNgxMaterialFaqModuleInOtherModule "> </ code > </ pre >
489
+ [highlight ] ="importNgxMaterialFaqModuleInOtherModule "> </ code > </ pre >
490
490
< button mat-icon-button
491
491
ngxClipboard
492
492
[cbContent] ="importNgxMaterialFaqModuleInOtherModule "
@@ -512,15 +512,15 @@ <h1>Getting Started</h1>
512
512
< p > Add the following to your template</ p >
513
513
514
514
< pre > < code highlight
515
- [code ] ="componentExample "> </ code > </ pre >
515
+ [highlight ] ="componentExample "> </ code > </ pre >
516
516
517
517
</ div >
518
518
519
519
< div class ="comment-container ">
520
520
< p > and the following to your component</ p >
521
521
522
522
< pre > < code highlight
523
- [code ] ="componentExampleInComponent "> </ code > </ pre >
523
+ [highlight ] ="componentExampleInComponent "> </ code > </ pre >
524
524
525
525
</ div >
526
526
</ mat-card-content >
@@ -533,7 +533,7 @@ <h1>Getting Started</h1>
533
533
< p > and the following to your component</ p >
534
534
535
535
< pre > < code highlight
536
- [code ] ="adminComponentExampleInComponent "> </ code > </ pre >
536
+ [highlight ] ="adminComponentExampleInComponent "> </ code > </ pre >
537
537
538
538
</ div >
539
539
</ mat-card-content >
@@ -543,7 +543,7 @@ <h1>Getting Started</h1>
543
543
< p > Add the following to your template as admin</ p >
544
544
545
545
< pre > < code highlight
546
- [code ] ="adminComponentExample "> </ code > </ pre >
546
+ [highlight ] ="adminComponentExample "> </ code > </ pre >
547
547
548
548
</ div >
549
549
@@ -577,7 +577,7 @@ <h1>Getting Started</h1>
577
577
</ div >
578
578
< div fxLayout ="row " fxLayoutAlign ="space-between ">
579
579
< pre > < code highlight
580
- [code ] ="'git clone https://github.com/AnthonyNahas/ngx-material-faq.git' "> </ code > </ pre >
580
+ [highlight ] ="'git clone https://github.com/AnthonyNahas/ngx-material-faq.git' "> </ code > </ pre >
581
581
< button mat-icon-button
582
582
ngxClipboard
583
583
[cbContent] ="'git clone https://github.com/AnthonyNahas/ngx-material-faq.git' "
@@ -591,7 +591,7 @@ <h1>Getting Started</h1>
591
591
</ div >
592
592
< div fxLayout ="row " fxLayoutAlign ="space-between ">
593
593
< pre > < code highlight
594
- [code ] ="'$ cd demo' "> </ code > </ pre >
594
+ [highlight ] ="'$ cd demo' "> </ code > </ pre >
595
595
< button mat-icon-button
596
596
ngxClipboard
597
597
[cbContent] ="'cd demo' "
@@ -605,7 +605,7 @@ <h1>Getting Started</h1>
605
605
</ div >
606
606
< div fxLayout ="row " fxLayoutAlign ="space-between ">
607
607
< pre > < code highlight
608
- [code ] ="'$ npm i' "> </ code > </ pre >
608
+ [highlight ] ="'$ npm i' "> </ code > </ pre >
609
609
< button mat-icon-button
610
610
ngxClipboard
611
611
[cbContent] ="'npm i' "
@@ -619,7 +619,7 @@ <h1>Getting Started</h1>
619
619
</ div >
620
620
< div fxLayout ="row " fxLayoutAlign ="space-between ">
621
621
< pre > < code highlight
622
- [code ] ="'$ ng serve --open' "> </ code > </ pre >
622
+ [highlight ] ="'$ ng serve --open' "> </ code > </ pre >
623
623
< button mat-icon-button
624
624
ngxClipboard
625
625
[cbContent] ="'ng serve --open' "
0 commit comments