[New & Fix]: 新增复制题目 MarkDown,修复排版错误 - #9
Conversation
|
由于现在题目一直爬取不了,暂时不知道复制能不能用,好像是可以用的 |
PR 审查报告检查结果
未通过的检查全部通过,无需修改。 自动生成 by PR Review workflow |
|
蹲个好心人帮我测试 |
There was a problem hiding this comment.
Code Review
This pull request introduces a feature to copy AtCoder problems as Markdown, adding a new utility file copy.ts for HTML-to-text conversion, a 'Copy Markdown' button in the webview, and corresponding message handling. It also refactors Cloudflare challenge handling by simplifying the UI and error messages, advising users to use the browser directly rather than prompting them to copy cookies. Feedback is provided regarding the htmlToText utility, which currently strips all HTML tags using a simple regular expression. This approach breaks KaTeX mathematical formulas and can accidentally delete text containing < or > symbols. A robust solution is suggested to parse and convert KaTeX structures into Markdown math blocks before stripping HTML tags.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
PR 审查报告检查结果
未通过的检查全部通过,无需修改。 自动生成 by PR Review workflow |
|
done. |
No description provided.