Skip to content

Commit de43ea6

Browse files
committed
refine markdown styling
1 parent c1268fa commit de43ea6

File tree

2 files changed

+710
-2
lines changed

2 files changed

+710
-2
lines changed

src/theme/default.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function renderComments({ comments, user, error }, instance) {
104104
: ''
105105
}
106106
</div>
107-
<div class="gitment-comment-body">${instance.marked(comment.body)}</div>
107+
<div class="gitment-comment-body gitment-markdown">${instance.marked(comment.body)}</div>
108108
</div>
109109
`
110110
commentsList.appendChild(commentItem)
@@ -153,7 +153,7 @@ function renderEditor({ user }, instance) {
153153
<textarea placeholder="Leave a comment" title="${disabledTip}" ${shouldDisable}></textarea>
154154
</div>
155155
<div class="gitment-editor-preview-field hidden">
156-
<div class="gitment-editor-preview"></div>
156+
<div class="gitment-editor-preview gitment-markdown"></div>
157157
</div>
158158
</div>
159159
<div class="gitment-editor-footer">

0 commit comments

Comments
 (0)