Skip to content

Commit d40d64c

Browse files
committed
Optimize exported Markdown style, add H2 to author
1 parent 1e6359b commit d40d64c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/components/Share/MarkdownView.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const MarkdownView: FC<Props> = ({ messages }) => {
1313
const content = useMemo(() => {
1414
return messages
1515
.filter((m) => !!m.text)
16-
.map((m) => `**${m.author}**: ` + m.text)
16+
.map((m) => `## ${m.author}` + '\n\n' + m.text)
1717
.join('\n\n')
1818
}, [messages])
1919

0 commit comments

Comments
 (0)