wuhuaji
V2EX  ›  问与答

请问这种风格的代码截图是怎么生成的?

  •  
  •   wuhuaji · Mar 2, 2020 · 3318 views
    This topic created in 2311 days ago, the information mentioned may be changed or developed.

    推特上经常看到一些朋友分析的代码截图,大概是长这样:

    https://pbs.twimg.com/media/EQmn9UIXsAAeak0?format=jpg&name=large

    看起来很美观,而且显然不是从编辑器中截图的,想请问有朋友知道是怎么生成的么?

    8 replies    2020-03-03 22:39:00 +08:00
    yhxx
        1
    yhxx  
       Mar 2, 2020   ❤️ 3
    murmur
        2
    murmur  
       Mar 2, 2020
    这个难道不是 atom 默认的配色风格么
    wuhuaji
        3
    wuhuaji  
    OP
       Mar 2, 2020
    @yhxx 看来就是这个,谢谢 :)
    unicloud
        4
    unicloud  
       Mar 3, 2020 via iPhone   ❤️ 1
    在线代码截图: https://www.dute.org/code-snapshot 可以对比下
    wuhuaji
        5
    wuhuaji  
    OP
       Mar 3, 2020
    @unicloud 看起来不错,不过我试了一下,导出图片时,样式变丑了,间距字体啥的都不对。
    我用的 Mac,可以排查一下。
    wuhuaji
        6
    wuhuaji  
    OP
       Mar 3, 2020
    unicloud
        7
    unicloud  
       Mar 3, 2020
    @wuhuaji 你是用的 Safari 浏览器吧,在 Safari 下确实是有点问题( Chrome 和 Firefox 正常),我抽时间调一下,谢谢反馈!
    wuhuaji
        8
    wuhuaji  
    OP
       Mar 3, 2020
    @unicloud 是用的 Chrome 哟
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4144 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 49ms · UTC 00:58 · PVG 08:58 · LAX 17:58 · JFK 20:58
    ♥ Do have faith in what you're doing.