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

feat(vscodePlugin): open web link and open file link #922

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

RSS1102
Copy link
Collaborator

@RSS1102 RSS1102 commented Sep 24, 2024

close #771

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Sep 24, 2024

WIP打开本地文件还未实现

@RSS1102
Copy link
Collaborator Author

RSS1102 commented Sep 25, 2024

总共有以下链接打开方式

  1. https/http 直接使用默认浏览器打开。
  2. 绝对地址 D:\Github\xxx.jsC:\Users\file.log 等。
  3. 相对地址 ./xxx.js../../xxx.js 等。
  4. 对于 # 开头的锚点不做特殊处理,交给cherry-markdown。

见视频

2024-09-25.112200.mp4

@RSS1102 RSS1102 marked this pull request as ready for review September 25, 2024 03:30
Copy link
Collaborator

@sunsonliu sunsonliu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sunsonliu sunsonliu merged commit 796b087 into Tencent:dev Oct 11, 2024
6 checks passed
Copy link

谢谢您的大力支持,请安装和此相关的测试版进行极速体验:

npm install @cherry-markdown-publisher/preview-dev@0.8.46-dev.796b087

查看npm发布版本,请注意这是一个开发预览版本,请谨慎使用!

@RSS1102 RSS1102 deleted the vscode/link branch October 11, 2024 08:42
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.

2 participants