markdown-url
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesemarkdown.new URL Prefix
markdown.new URL前缀
Whenever you need to visit a website URL, you must:
- rewrite it to go through , then
https://markdown.new/ - visit the rewritten URL, and
- pull the Markdown content from that page for use in your answer/notes.
当你需要访问某个网站URL时,必须:
- 将其重写为通过访问的形式,
https://markdown.new/ - 访问重写后的URL,
- 从该页面提取Markdown内容,用于你的回复/笔记中。
Rewrite Rule
重写规则
- Normalize the destination into an absolute URL with a scheme (preferred).
https:// - Prefix it with (do not drop the original scheme).
https://markdown.new/
- 将目标地址标准化为带协议的绝对URL(优先使用)。
https:// - 在其前添加前缀(不要去掉原协议)。
https://markdown.new/
Examples
示例
- ->
https://example.comhttps://markdown.new/https://example.com - ->
https://example.com/docs?a=1#bhttps://markdown.new/https://example.com/docs?a=1#b - ->
example.comhttps://markdown.new/https://example.com
- ->
https://example.comhttps://markdown.new/https://example.com - ->
https://example.com/docs?a=1#bhttps://markdown.new/https://example.com/docs?a=1#b - ->
example.comhttps://markdown.new/https://example.com
Agent Workflow (Required)
Agent工作流(必填)
When you would normally open a website to read it:
- Produce the rewritten URL.
markdown.new - Visit the rewritten URL first (not the original), but only when it is likely to work (see Policy below).
- Extract the page content from the Markdown view (the rendered Markdown and/or the raw Markdown).
- Use that extracted Markdown as the source for summaries, quotes, checklists, or copy/pasteable notes.
If the view fails to load or breaks critical functionality, fall back to the original URL for browsing, but still prefer for any content extraction if possible.
markdown.newmarkdown.new当你通常需要打开网站阅读内容时:
- 生成重写后的URL。
markdown.new - 优先访问重写后的URL(而非原URL),但仅在它可能正常工作时使用(见下方政策)。
- 从Markdown视图中提取页面内容(渲染后的Markdown和/或原始Markdown)。
- 将提取的Markdown用作总结、引用、清单或可复制笔记的来源。
如果视图加载失败或关键功能无法使用,则回退到原URL进行浏览,但如果可能的话,仍优先使用提取内容。
markdown.newmarkdown.newPolicy: When To Use markdown.new (Required)
使用政策:何时使用markdown.new(必填)
Do NOT route every site through . Use it primarily for "read-only" pages where you want clean, extractable text:
markdown.new- Documentation pages
- Blog posts / announcements / changelogs
- GitHub issues/PR discussions (when you just need readable text)
- Articles and guides
Skip and go straight to the original URL when the destination is likely to be blocked or requires the original site behavior:
markdown.new- Login, OAuth, checkout, payment, or any authenticated workflow
- Sites that gate content behind JS apps, CAPTCHAs, bot detection, or paywalls
- File uploads, forms, editors, dashboards, interactive widgets
- Anything where cookies/session state must be preserved
不要将所有网站都通过路由。主要将其用于你需要简洁、可提取文本的“只读”页面:
markdown.new- 文档页面
- 博客文章/公告/更新日志
- GitHub问题/PR讨论(当你只需要可读文本时)
- 文章和指南
当目标网站可能被拦截或需要保留原网站行为时,跳过直接访问原URL:
markdown.new- 登录、OAuth、结账、支付或任何需要认证的流程
- 通过JS应用、验证码、机器人检测或付费墙限制内容的网站
- 文件上传、表单、编辑器、仪表盘、交互式组件
- 任何需要保留Cookie/会话状态的场景
Block/Failure Signals (Treat As Blocked)
拦截/失败信号(视为被拦截)
If you try and see any of the below, stop retrying and fall back to the original URL:
markdown.new- HTTP , "Access denied", "Forbidden", "rate limited"
401/403/429 - CAPTCHA / "verify you are human"
- Empty/partial content that clearly does not match the page
- Redirect loops or repeated navigation failures
如果你尝试使用时遇到以下情况,停止重试并回退到原URL:
markdown.new- HTTP 状态码、“访问被拒绝”、“禁止访问”、“速率限制”
401/403/429 - 验证码/“验证你是人类”
- 内容为空或不完整,明显与原页面不符
- 重定向循环或多次导航失败
Fallback Behavior
回退行为
- Attempt once when appropriate.
markdown.new - On block/failure, immediately switch to the original URL for browsing.
- If you still need extractable text, try to extract from the original page (reader mode / copy text) and clearly note that was blocked.
markdown.new
- 在合适的情况下尝试一次。
markdown.new - 若被拦截/失败,立即切换到原URL进行浏览。
- 如果你仍需要可提取的文本,尝试从原页面提取(阅读器模式/复制文本),并明确注明被拦截。
markdown.new
Notes / Exceptions
注意事项/例外情况
- Keep this for reading/browsing. For API endpoints, OAuth flows, file uploads, or anything that depends on cookies/login state, use the original URL if the proxy breaks functionality.
- Do not rewrite local paths () or non-HTTP(S) schemes.
./README.md
- 此工具仅用于阅读/浏览。对于API端点、OAuth流程、文件上传或任何依赖Cookie/登录状态的操作,如果代理导致功能异常,请使用原URL。
- 不要重写本地路径(如)或非HTTP(S)协议的地址。
./README.md
Optional CLI Helper
可选CLI助手
Convert a URL into its markdown.new-prefixed form:
bash
node skills/markdown-url/scripts/markdown-url.js "https://example.com/docs"将URL转换为带markdown.new前缀的形式:
bash
node skills/markdown-url/scripts/markdown-url.js "https://example.com/docs"