Remove test code

This commit is contained in:
Bálint Bokros 2018-02-01 16:03:41 +01:00
parent 11b004e3b7
commit e0bdf1d9ed
2 changed files with 0 additions and 12 deletions

View File

@ -1,2 +1 @@
<div [innerHtml]="this.markdown">
</div> </div>

View File

@ -1,15 +1,6 @@
import { Component, OnInit } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { MarkdownService } from '../markdown.service'; import { MarkdownService } from '../markdown.service';
const mdText =
`# Showdown test
**bold**
_italic_
[link](https://avatao.com)
`;
@Component({ @Component({
selector: 'app-logs', selector: 'app-logs',
@ -17,9 +8,7 @@ _italic_
styleUrls: ['./logs.component.scss'] styleUrls: ['./logs.component.scss']
}) })
export class LogsComponent implements OnInit { export class LogsComponent implements OnInit {
markdown: string;
constructor(private markdownService: MarkdownService) { constructor(private markdownService: MarkdownService) {
this.markdown = markdownService.convertToHtml(mdText);
} }
ngOnInit() { ngOnInit() {