Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(markdown): 💡 使用 markdown-it 替换 marked,获得更好的体验 #305

Merged
merged 4 commits into from
Mar 6, 2023

Conversation

uxiew
Copy link
Contributor

@uxiew uxiew commented Mar 5, 2023

Closes: #290 #283 #309

  1. 支持了 kaTex 数学公式渲染
  2. 使用 markdown-it-highlightjs 进行高亮
    测试 html 正常渲染、行内高亮
    image

@uxiew uxiew changed the title refactor: 💡 使用 markdown-it 替换 marked,获得更好的体验 refactor(markdown): 💡 使用 markdown-it 替换 marked,获得更好的体验 Mar 5, 2023
@SMESDAs
Copy link

SMESDAs commented Mar 5, 2023

Screenshot 2023-03-05 at 3 52 15 PM

Screenshot 2023-03-05 at 3 36 48 PM

@SMESDAs
Copy link

SMESDAs commented Mar 5, 2023

#290 相比没有变化,而且暗黑模式配色有问题。

@uxiew
Copy link
Contributor Author

uxiew commented Mar 5, 2023

#290 相比没有变化,而且暗黑模式配色有问题。

  1. 被 ``` 这种代码块包裹了,被识别成了高亮语法。这种情况就很麻烦了
  2. 不能识别 laTex 语法;不如你直接让它不要用latex输出,😂

@Chanzhaoyu Chanzhaoyu merged commit c8fa086 into Chanzhaoyu:main Mar 6, 2023
suikodev referenced this pull request in AstraSurge/gpteams Mar 27, 2023
refactor(markdown): 💡 使用 markdown-it 替换 marked,获得更好的体验
EvanDbg pushed a commit to EvanDbg/chatgpt-web that referenced this pull request Nov 17, 2023
feat: refactor mail template and add link address for copy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants