V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
jwenjian
V2EX  ›  分享发现

GitHub 新功能:可以设置 markdown 的图片只在 light mode 或者 dark mode 中显示

  •  3
     
  •   jwenjian · 2021-11-25 08:04:15 +08:00 · 1626 次点击
    这是一个创建于 876 天前的主题,其中的信息可能已经有所发展或是发生改变。

    先看一个我录制的 gif ezgif com-gif-maker

    可以去我的 profile 页面体验: https://github.com/jwenjian

    具体使用方法: https://docs.github.com/en/github/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#specifying-the-theme-an-image-is-shown-to


    另外,之前做的一个 VS Code 刷 Ins 的扩展已经迁移到 uTools 上了,发现在 uTools 上使用比在 VS Code 上使用更方便,感兴趣的朋友可以去 uTools 插件中心搜索 Oh My Ins 安装尝试。

    4 条回复    2021-11-26 06:33:27 +08:00
    SuperMild
        1
    SuperMild  
       2021-11-25 09:34:53 +08:00
    感谢分享,刚刚给自己的项目的 README 也加上 dark mode 图片了,顺便贴个地址当作增加一个参考示例吧 https://github.com/ahui2016/dictplus
    sigl0p
        2
    sigl0p  
       2021-11-25 09:56:48 +08:00
    没必要,我就是要用 #FFFFFF 的图片亮瞎你们开 dark mode 的眼睛
    cmdOptionKana
        3
    cmdOptionKana  
       2021-11-25 10:15:41 +08:00
    @sigl0p 图裂了
    codingBug
        4
    codingBug  
       2021-11-26 06:33:27 +08:00 via Android
    图片在 dark 模式下辣眼睛吗?
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2759 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 12:46 · PVG 20:46 · LAX 05:46 · JFK 08:46
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.