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

Feature Request: 支持图床管理html文件 #67

Closed
1 task done
Tony-zf1 opened this issue Nov 29, 2022 · 3 comments
Closed
1 task done

Feature Request: 支持图床管理html文件 #67

Tony-zf1 opened this issue Nov 29, 2022 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Tony-zf1
Copy link

Feature Requested

Bon佬和皮皮佬好,我有个使用markmind批注图床pdf的工作流,用起来比较方便,不知道用来这个插件上管理html批注是否也容易实现,在此介绍供参考。

在和markmind作者几次反馈后,markmind现在支持在pdf附件的多种管理功能:

  • 在线pdf:可以将pdf附件放到图床中,像图片一样管理,只需要同步md也可以保证批注链接不失效
  • pdf id: 使用id来指向存放批注信息的md,这个md中另有pdf链接的信息,这样更新pdf路径可以保证回链不失效
  • 缓存pdf: pdf文件可能比较大,每次预览会消耗大量流量,markmind在打开链接时,会先到附件文件夹匹配对应的PDF,匹配成功后使用本地pdf打开,如果不成功就打开原始的图床链接预览,然后保存一份缓存到附件文件夹,这样可以大大减少流量消耗。
    image

目前我试了一下,html放到图床之后,用Surfing打开会自动触发下载,如果能够做到预览而不是下载,那么参照上述pdf的流程也可以对html实现稳定的批注回链了!

Relevant Screenshot

No response

Checklist

  • The feature would be useful to more users than just me.
@Tony-zf1
Copy link
Author

现在发现Annotator插件可以预览图床的html,而不会触发下载,也许可以借鉴一下。这样只要也实现缓存html附件解决流量消耗问题就可以了
image

@Quorafind
Copy link
Collaborator

是否有图床的 HTML 的链接示例

@Quorafind Quorafind added the help wanted Extra attention is needed label Nov 29, 2022
@Tony-zf1
Copy link
Author

替代方案: 可以使用github托管静态html,用surfing访问托管后的github链接,参考链接

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants