Files
start-os/web/projects/shared/src/components/markdown/markdown.component.html
Alex Inkin 9f640b24b3 fix: fix building UI project (#2794)
* fix: fix building UI project

* fix makefile

* inputspec instead of config

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
2024-12-02 16:44:27 -07:00

19 lines
376 B
HTML

<tui-notification
*ngIf="error$ | async as error"
appearance="negative"
safeLinks
>
{{ error }}
</tui-notification>
<div
*ngIf="content$ | async as result; else loading"
safeLinks
class="content-padding"
[innerHTML]="result | markdown | dompurify"
></div>
<ng-template #loading>
<tui-loader [textContent]="'Loading ' + title | titlecase" />
</ng-template>