V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
爱意满满的作品展示区。
Lentin

用比较 raw 的方法实现了在 iOS 的 safari 上仿 chrome 查看网站源码的功能

  •  
  •   Lentin · Apr 17, 2019 · 1850 views
    This topic created in 2568 days ago, the information mentioned may be changed or developed.
    搞了个高亮和行号的的功能,仿真度 80%吧,配色可以自己参考 https://highlightjs.org 改,把 github.min.css 改成你想要的
    自行存为 safari 书签,代码见 Gist

    1 replies    2019-04-17 21:28:10 +08:00
    crayygy
        1
    crayygy  
       Apr 17, 2019 via iPhone
    可以使用 shortcut 实现
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   999 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 20:13 · PVG 04:13 · LAX 13:13 · JFK 16:13
    ♥ Do have faith in what you're doing.