Optimize exported Markdown style, add H2#1138
Open
zhoukuncheng wants to merge 1 commit intochathub-dev:mainfrom
Open
Optimize exported Markdown style, add H2#1138zhoukuncheng wants to merge 1 commit intochathub-dev:mainfrom
zhoukuncheng wants to merge 1 commit intochathub-dev:mainfrom
Conversation
Contributor
|
感觉这样改也不是很合理,user的输入和bot的输出应该是同级的 |
Author
|
如果平级的话,得考虑 bot 长串文字的处理,可能加辅助文本会好一点 |
7168b6d to
e233d57
Compare
e233d57 to
d40d64c
Compare
Author
|
已修改为平级,author 不管是 user 还是 bot,都视为 h2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Avoid poor Markdown rendering, because GPT often outputs content with an H3 title, which looks awkward when following a user message.
I recently began taking extensive notes from ChatHub to Obsidian, so this PR will benefit people who rely on ChatHub for note-taking.
最近靠 ChatHub 总结笔记,导出的 md 格式,author 是正文,而 GPT 输出包含了多级标题,就很奇怪。
修改后: author 作为 H2
before:

after: