爱意满满的作品展示区。
octref

Polacode - Polaroid for your code 📸

  •  2
     
  •   octref ·
    octref · Feb 16, 2018 · 6558 views
    This topic created in 3028 days ago, the information mentioned may be changed or developed.

    VS Code 中的 WYSIWYG Snippet -> Image converter。

    保留原始的 syntax highlighting, theme and font。 所有操作在本地完成,不像 carbon.now.sh 需要网络连接。

    usage

    Demo

    Nord + Input Mono

    demo1

    Monokai Pro + Operator Mono

    demo3

    Material Theme Palenight + Fira Code

    demo2


    8 replies    2018-11-08 11:24:07 +08:00
    run2
        1
    run2  
       Feb 16, 2018
    👍
    屏幕不够宽( 13rMBP ) 因为 Polacode 是自动分割的窗口 就更不够宽的前提下
    有一部代码在编辑背景的外面
    octref
        2
    octref  
    OP
       Feb 16, 2018   ❤️ 1
    @sobigfish 打算以后加入 word wrapping: https://github.com/octref/polacode/issues/4

    现在屏幕不够宽可以用 Cmd+Shift+P -> Toggle Editor Group Horizontal/Vertical Layout
    run2
        3
    run2  
       Feb 16, 2018
    @octref #2 感谢,我刚才在设置里搜 split windows editor 都没搜到 Horizontal Vertical 的转换
    xiqingongzi
        4
    xiqingongzi  
       Feb 16, 2018
    刚刚测试了下,建议能自动调整字号。这样就可以解决上面的大小显示不合格的问题了。
    xiqingongzi
        5
    xiqingongzi  
       Feb 16, 2018
    不过真的是很棒的插件,我之前一直很好奇这种图片是怎么生成的。
    40YkEu8x0dfV6Oj1
        6
    40YkEu8x0dfV6Oj1  
       Feb 16, 2018
    很棒的插件
    newton
        7
    newton  
       Feb 23, 2018
    很棒,有没有提供直接复制图片到剪贴板(不保存图片)的功能?这样可以比较方便直接粘贴到各种对话框里
    wikinee
        8
    wikinee  
       Nov 8, 2018
    原来神器作者在这里!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5619 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 06:44 · PVG 14:44 · LAX 23:44 · JFK 02:44
    ♥ Do have faith in what you're doing.