Awesome
Pixie.nvim
<p align="center"> <img src="https://user-images.githubusercontent.com/23079646/217597339-59ecb2ae-f575-422b-8818-e348fa5e03a3.png"> </p>This NeoVim plugin generates ✨fancy✨ images from your code
Installation
This package requires
NodeJS
to be installed. See How to install NodeJS
If you are on Linux, please make sure to take a look at this page.
Using packer.nvim
use({
"atlj/Pixie.nvim",
run = function() vim.cmd.PixieInstall() end
})
Usage
- Highlight the text you wish to create a Screenshot from
- Use
:PixieCopy
command to copy the generated image to your clipboard - You can now paste the generated image
How does this work
This plugin uses puppeteer to headlessly render and take a screenshot of an auto-generated HTML file.
Similar plugins
- vim-silicon uses silicon to create images using GPU.
Roadmap
G: Issues to fix
- If a line is too wide, it crashes
- Quality multiplier cannot take a float value, and it is NaN on javascript when not defined
H: Quality of Life
- Add
PixieSave
command - Add theming support and new themes
- Make the generated screenshots bordered
- Get the quality etc. from a config
Next steps:
- Create a simple logo using Midjourney
- Share on Twitter