Skip to content

Commit

Permalink
Fix markdown for the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefling committed Dec 30, 2024
1 parent dd3a081 commit 931dada
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/content/infos/infos-changelog.component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<h2>{{ 'changelog.title' | transloco }}</h2>

<pre [innerHTML]="data"></pre>
<markdown [data]="data"></markdown>
4 changes: 3 additions & 1 deletion src/app/content/infos/infos-changelog.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ import { Component, inject } from '@angular/core';

import { TranslocoPipe, TranslocoService } from '@jsverse/transloco';

import { MarkdownComponent } from 'ngx-markdown';

import { GlobalService } from 'src/app/services/global.service';
import { Subscriptions } from 'src/app/tools/subscriptions';

@Component({
selector: 'infos-changelog',
templateUrl: './infos-changelog.component.html',
styleUrls: ['./infos-changelog.component.scss'],
imports: [TranslocoPipe],
imports: [TranslocoPipe, MarkdownComponent],
})
export class InfoChangelogComponent {
private readonly http = inject(HttpClient);
Expand Down

0 comments on commit 931dada

Please sign in to comment.