mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 22:41:31 +01:00
md renderer for description view.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
import * as moment from 'moment';
|
||||
import md from './mdRenderer';
|
||||
|
||||
export enum EventType {
|
||||
Committed,
|
||||
@@ -159,7 +160,7 @@ export function renderComment(comment: CommentEvent): string {
|
||||
<div class="timestamp">${moment(comment.created_at).fromNow()}</div>
|
||||
</div>
|
||||
<div class="comment-body">
|
||||
${comment.body}
|
||||
${md.render(comment.body)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user