From e6daeb7744ded401a3ed61e7ee18c9724598f8b7 Mon Sep 17 00:00:00 2001 From: Baltazar Gomez Date: Sat, 12 Oct 2019 22:04:16 -0600 Subject: [PATCH] add markdown preview for comments --- src/ui/component/comment/view.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui/component/comment/view.jsx b/src/ui/component/comment/view.jsx index f43eeae22..48ac2bddf 100644 --- a/src/ui/component/comment/view.jsx +++ b/src/ui/component/comment/view.jsx @@ -3,6 +3,7 @@ import React from 'react'; import relativeDate from 'tiny-relative-date'; import Button from 'component/button'; import Expandable from 'component/expandable'; +import MarkdownPreview from 'component/common/markdown-preview'; type Props = { author: string, @@ -28,7 +29,9 @@ function Comment(props: Props) {
-

{message}

+
+ +