23 lines
1.1 KiB
Org Mode
23 lines
1.1 KiB
Org Mode
#+title: Screenshot.el
|
|
#+author: tecosaur
|
|
|
|
#+html: <p><img src="https://img.shields.io/badge/Emacs-27.1+-blueviolet.svg?style=flat-square&logo=GNU%20Emacs&logoColor=white">
|
|
#+html: <img src="https://img.shields.io/badge/stage-%CE%B2,%20refinement-orange?style=flat-square">
|
|
#+html: <img src="https://img.shields.io/badge/-Linux-fcc624?logo=linux&style=flat-square&logoColor=black">
|
|
#+html: <img src="https://img.shields.io/badge/-MacOS-lightgrey?logo=apple&style=flat-square&logoColor=black">
|
|
#+html: <a href="https://liberapay.com/tec"><img src="https://shields.io/badge/support%20my%20efforts-f6c915?logo=Liberapay&style=flat-square&logoColor=black"></a></p>
|
|
|
|
Ever wanted to take a screenshot of some code to share on /<insert IM platform
|
|
of choice here>/?
|
|
+ Yes: well then this package may just be for you!
|
|
+ No: you're lying
|
|
|
|
[[file:screenshot.png]]
|
|
|
|
With this package you can trivially convert a selected region of code to a
|
|
screenshot (no fiddly cropping required), with nothing but Emacs itself.
|
|
|
|
If you add in ~xclip~, this will happily copy a screenshot straight to your
|
|
clipboard. Provide ~imagemagick~ too and you can get rounded borders and a drop
|
|
shadow 😉.
|