Denops Silicon.vim Save

A plugin to generate image from source code.

Project README

denops-silicon.vim

A plugin to generate image from source code.

denops-silicon

Requirements

  • denops.vim
  • Deno v1.25.0 or later
  • xclip(only Linux)

Dependencies

Please refer silicon's dependencies

NOTE: You don't have to install silicon.

Usage

" Generate image from current buffer and save to out.png
:Silicon out.png

" Generate image from specified range and save to clipboard
:'<,'>Silicon

Options

The following options can customize the image.

let g:silicon_options = {
      \  'font': 'Cica',
      \  'no_line_number': v:false,
      \  'no_round_corner': v:false,
      \  'no_window_controls': v:false,
      \  'background_color': '#aaaaff',
      \  'line_offset': 1,
      \  'line_pad': 2,
      \  'pad_horiz': 80,
      \  'pad_vert': 100,
      \  'shadow_blur_radius': 0,
      \  'shadow_color': '#555555',
      \  'shadow_offset_x': 0,
      \  'shadow_offset_y': 0,
      \  'tab_width': 4,
      \  'theme': 'Solarized (dark)',
      \ }

Author

skanehira

Open Source Agenda is not affiliated with "Denops Silicon.vim" Project. README Source: skanehira/denops-silicon.vim
Stars
42
Open Issues
1
Last Commit
1 month ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating