mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
feat(about): render images in markdown (#5732)
* feat(about): render images in markdown Closes https://github.com/Chocobozzz/PeerTube/issues/5710 * Update edit-instance-information.component.html * use `markdownType="enhanced"`
This commit is contained in:
parent
907bcfa02c
commit
9258e9a4a3
2 changed files with 9 additions and 9 deletions
|
@ -56,7 +56,7 @@ export class InstanceService {
|
|||
}
|
||||
|
||||
for (const key of Object.keys(html)) {
|
||||
html[key] = await this.markdownService.textMarkdownToHTML({ markdown: about.instance[key] })
|
||||
html[key] = await this.markdownService.enhancedMarkdownToHTML({ markdown: about.instance[key] })
|
||||
}
|
||||
|
||||
return html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue