aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+about/about-peertube/about-peertube-contributors.component.ts
blob: dd774a4ef902d4d56d66dfdf39e971b8dcb21873 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                 
                                           








                                                                   
                                                                            



                                                            
                                                                                           

   
import { Component, OnInit } from '@angular/core'
import { MarkdownService } from '@app/core'

@Component({
  selector: 'my-about-peertube-contributors',
  templateUrl: './about-peertube-contributors.component.html',
  styleUrls: [ './about-peertube-contributors.component.scss' ]
})
export class AboutPeertubeContributorsComponent implements OnInit {
  creditsHtml: string

  private markdown = require('raw-loader!../../../../../CREDITS.md').default

  constructor (private markdownService: MarkdownService) { }

  async ngOnInit () {
    this.creditsHtml = await this.markdownService.unsafeMarkdownToHTML(this.markdown, true)
  }
}