Skip to content

An Atom package to insert image form clipboard into markdown file

License

Notifications You must be signed in to change notification settings

avonmoll/atom-markclip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markclip - Atom package

An Atom package to insert image form clipboard into markdown file.

Usage

Copy some image into clipboard and key cmd-v (Mac) or ctrl-v (Windows) in markdown file.

Config

saveType

  • base64

Insert base64 string like

![](data:image/png;base64,...)
  • file

Create an image file in the same directory of your markdown file, then insert into markdown with a md5 file name.

path
├── markdown-file-name.md
├── image-md5-name.png
└── ...
![](image-md5-name.png)
  • file in folder

Create a directory with the same name of the current markdown file. Put the image in the directory, then insert into markdown with a md5 file name.

path
├── markdown-file-name.md
├── markdown-file-name
│   ├── image-md5-name.png
│   └── ...
└── ...
![](markdown-file-name/image-md5-name.png)
  • custom file

Ask to save each time.

folderSpaceReplacer

Replace spaces to special charset in image folder name while using setting saveType: file in folder. Default to -.

About

An Atom package to insert image form clipboard into markdown file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 93.9%
  • CSS 6.1%