Giter Club home page Giter Club logo

Comments (5)

x-cold avatar x-cold commented on May 26, 2024

目前还没支持的计划,同步过来会导致访问比较慢,语雀短期内也不会加强这部分的策略。

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

有兴趣支持的话 可以在 adapter 层做相关的扩展

from yuque-hexo.

hacker-jerry avatar hacker-jerry commented on May 26, 2024

目前还没支持的计划,同步过来会导致访问比较慢,语雀短期内也不会加强这部分的策略。

emm我觉得是不是在github action中将图片下载到img文件夹,然后使用jsdriver的cdn加速,在md转换层 将图片外链引用改成类似于https://cdn.jsdelivr.net/gh/AlanDecode/site-Blog@gh-pages/img/13452d991bfec0ed426cd0615bc53703.png的样式?

具体灵感来自于https://sspai.com/post/58013

from yuque-hexo.

hacker-jerry avatar hacker-jerry commented on May 26, 2024

能否实现转换文档时对图片进行配置,支持将图片下载到本地同名文件夹下。(担心因为防盗链图片彻底不能使用的问题,临时方案也无效的情况下)

哈哈,自己动手丰衣足食。js代码我不太会写,就用python写了一个脚本,批量转换语雀外链到又拍云。不知道能不能集成到yuque-hexo里

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

1.8.0 已经支持自定的 adapter 代码了,可以参考这个 https://github.com/x-cold/yuque-hexo/tree/master/test/custom-adapter-project,可以考虑在 adapter 实现相关的代码。

当然如果你的图片转存的逻辑已经用 python 实现了,那直接在 yuque-hexo sync 命令之后加上你的命令就好啦,比如 yuque-hexo sync && ptython ./my_python.py。

from yuque-hexo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.