Skip to content

Commit fac6ef1

Browse files
committed
Enhance lesson files by adding missing raw tags for code blocks, ensuring proper Markdown formatting and consistency across exercises and lessons.
1 parent ea1751d commit fac6ef1

5 files changed

Lines changed: 18 additions & 9 deletions

File tree

modules/module-2/lessons/exercises/lesson-2-1-exercise-2-di-hierarquica.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,9 @@ import { ChildComponent } from './child.component';
203203

204204
<p>GlobalService ID: {{ globalService.getInstanceId() }}</p>
205205
{% endraw %}
206-
206+
{% raw %}
207207
<p>ComponentService ID: {{ componentService.getInstanceId() }}</p>
208+
{% endraw %}
208209

209210
<app-child></app-child>
210211
</div>
@@ -295,8 +296,9 @@ import { ComponentService } from './component.service';
295296

296297
<p>GlobalService ID: {{ globalService.getInstanceId() }}</p>
297298
{% endraw %}
298-
299+
{% raw %}
299300
<p>ComponentService ID: {{ componentService.getInstanceId() }}</p>
301+
{% endraw %}
300302

301303
<p class="note">
302304
GlobalService: Mesma instância (root)<br>

modules/module-2/lessons/exercises/lesson-2-1-exercise-3-providers-escopos.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,8 +268,9 @@ import { ComponentScopedService } from './component-scoped.service';
268268

269269
<p>ID: {{ rootService.getInstanceId() }}</p>
270270
{% endraw %}
271-
271+
{% raw %}
272272
<p>{{ rootService.getScope() }}</p>
273+
{% endraw %}
273274

274275
</div>
275276
@@ -279,8 +280,9 @@ import { ComponentScopedService } from './component-scoped.service';
279280

280281
<p>ID: {{ anyService.getInstanceId() }}</p>
281282
{% endraw %}
282-
283+
{% raw %}
283284
<p>{{ anyService.getScope() }}</p>
285+
{% endraw %}
284286

285287
</div>
286288
@@ -290,8 +292,9 @@ import { ComponentScopedService } from './component-scoped.service';
290292

291293
<p>ID: {{ componentService.getInstanceId() }}</p>
292294
{% endraw %}
293-
295+
{% raw %}
294296
<p>{{ componentService.getScope() }}</p>
297+
{% endraw %}
295298

296299
</div>
297300
@@ -412,10 +415,11 @@ import { ComponentScopedService } from './component-scoped.service';
412415

413416
<p>RootService ID: {{ rootService.getInstanceId() }} (mesmo)</p>
414417
{% endraw %}
415-
418+
{% raw %}
416419
<p>AnyService ID: {{ anyService.getInstanceId() }} (mesmo se mesmo módulo)</p>
417420

418421
<p>ComponentScopedService ID: {{ componentService.getInstanceId() }} (novo)</p>
422+
{% endraw %}
419423

420424
</div>
421425
`

modules/module-2/lessons/exercises/lesson-2-1-exercise-4-injection-tokens-factory.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,9 @@ import { API_CONFIG, ApiConfig } from './api-config';
306306

307307
<p>API URL: {{ apiService.getBaseUrl() }}</p>
308308
{% endraw %}
309-
309+
{% raw %}
310310
<p>Timeout: {{ apiService.getTimeout() }}ms</p>
311+
{% endraw %}
311312

312313
</div>
313314
`

modules/module-4/lessons/exercises/lesson-4-5-exercise-2-zoneless.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,9 @@ import { CommonModule } from '@angular/common';
208208

209209
<p>Valor: {{ count() }}</p>
210210
{% endraw %}
211-
211+
{% raw %}
212212
<p>Dobro: {{ doubleCount() }}</p>
213+
{% endraw %}
213214

214215
<div class="buttons">
215216
<button (click)="increment()">+</button>

modules/module-4/lessons/lesson-4-5.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,8 +415,9 @@ import { Component, signal, computed, effect } from '@angular/core';
415415

416416
<p>{{ count() }}</p>
417417
{% endraw %}
418-
418+
{% raw %}
419419
<p>{{ doubleCount() }}</p>
420+
{% endraw %}
420421

421422
<button (click)="increment()">Increment</button>
422423
</div>

0 commit comments

Comments
 (0)