Skip to content

Commit f89a64d

Browse files
committed
Update lesson files to include raw tags for code blocks, ensuring proper formatting in Markdown
1 parent ef0446e commit f89a64d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

modules/module-1/lessons/exercises/lesson-1-3-exercise-5-ciclo-vida.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export class LifecycleDemoComponent implements
239239
```
240240

241241
**lifecycle-demo.component.html**
242+
{% raw %}
242243
```html
243244
<div class="lifecycle-demo">
244245
<div class="demo-controls">
@@ -280,6 +281,7 @@ export class LifecycleDemoComponent implements
280281
</div>
281282
</div>
282283
```
284+
{% endraw %}
283285

284286
**lifecycle-demo.component.css**
285287
```css

modules/module-1/lessons/lesson-1-3.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ interface Product {
455455
selector: 'app-product-card',
456456
standalone: true,
457457
imports: [CommonModule],
458-
{% raw %}
459458
template: `
460459
<div class="product-card" [class.out-of-stock]="!product.inStock">
461460
<img [src]="product.imageUrl" [alt]="product.name">
@@ -469,7 +468,6 @@ interface Product {
469468
</div>
470469
`,
471470
styles: [`
472-
{% endraw %}
473471
.product-card {
474472
border: 1px solid #ddd;
475473
border-radius: 8px;
@@ -517,14 +515,12 @@ import { interval, Subscription } from 'rxjs';
517515
@Component({
518516
selector: 'app-timer',
519517
standalone: true,
520-
{% raw %}
521518
template: `
522519
<div class="timer">
523520
<h2>Timer: {{ seconds }}s</h2>
524521
<p>Status: {{ status }}</p>
525522
</div>
526523
`
527-
{% endraw %}
528524
})
529525
export class TimerComponent implements OnInit, OnDestroy {
530526
@Input() initialSeconds: number = 0;

0 commit comments

Comments
 (0)