Home
Sign Up
Sign In
爱意满满的作品展示区。
Advertisement
V2EX
›
分享创造
用比较 raw 的方法实现了在 iOS 的 safari 上仿 chrome 查看网站源码的功能
Lentin
·
Apr 17, 2019
· 2308 views
This topic created in 2759 days ago, the information mentioned may be changed or developed.
搞了个高亮和行号的的功能,仿真度 80%吧,配色可以自己参考
https://highlightjs.org
改,把 github.min.css 改成你想要的
自行存为 safari 书签,代码见 Gist
https://gist.github.com/codexss/c75df42b00e758850eaa8049dcf499b5
显示 Gist 代码
Safari
行号
RAW
gist
1 replies
•
2019-04-17 21:28:10 +08:00
crayygy
Apr 17, 2019 via iPhone
1
可以使用 shortcut 实现
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
2733 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 30ms ·
UTC 13:55
·
PVG 21:55
·
LAX 05:55
·
JFK 08:55
♥ Do have faith in what you're doing.
❯