1 import { Component, Input, OnInit } from '@angular/core'
5 styleUrls: [ './help.component.scss' ],
6 templateUrl: './help.component.html'
9 export class HelpComponent implements OnInit {
11 @Input() postHtml = ''
12 @Input() customHtml = ''
13 @Input() helpType: 'custom' | 'markdownText' | 'markdownEnhanced' = 'custom'
18 if (this.helpType === 'custom') {
19 this.mainHtml = this.customHtml
23 if (this.helpType === 'markdownText') {
24 this.mainHtml = 'Markdown compatible.<br /><br />' +
34 if (this.helpType === 'markdownEnhanced') {
35 this.mainHtml = 'Markdown compatible.<br /><br />' +