Skip to content

shwld/insert-image-to-atom-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insert image to atom project

When you paste an image on the clipboard, the img path is inserted.

You can set save destination and wwwroot for each project.

Grammar supporting snippet insertion

  • Markdown
  • HTML

For other grammers, insert image-path.

Inline preview for markdown grammer

Settings

.image-config.json

{
  "storePath": "/images",
  "wwwRoot": "/public"
  "grammars": {
    "Markdown": {
      "url": "![](${url})"
    },
    "GitHub Markdown": {
      "url": "![](${url})"
    },
    "HTML": {
      "url": "<img src=\"${url}\" alt=\"\">"
    }
  }
}
  • storePath: Image save destination
  • wwwRoot : Route of relative path
  • grammars : Grammer settings
    • url : Customize pasting style, will insert image path to ${url}

About

Simple extionsion for inserting images into atom project.

Resources

Stars

Watchers

Forks

Packages

No packages published