mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-15 23:51:57 +00:00
Remove test code
This commit is contained in:
parent
11b004e3b7
commit
e0bdf1d9ed
@ -1,2 +1 @@
|
||||
<div [innerHtml]="this.markdown">
|
||||
</div>
|
||||
|
@ -1,15 +1,6 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { MarkdownService } from '../markdown.service';
|
||||
|
||||
const mdText =
|
||||
`# Showdown test
|
||||
|
||||
**bold**
|
||||
|
||||
_italic_
|
||||
|
||||
[link](https://avatao.com)
|
||||
`;
|
||||
|
||||
@Component({
|
||||
selector: 'app-logs',
|
||||
@ -17,9 +8,7 @@ _italic_
|
||||
styleUrls: ['./logs.component.scss']
|
||||
})
|
||||
export class LogsComponent implements OnInit {
|
||||
markdown: string;
|
||||
constructor(private markdownService: MarkdownService) {
|
||||
this.markdown = markdownService.convertToHtml(mdText);
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
Loading…
Reference in New Issue
Block a user