8000 GitHub - xanderschrijen/urltoimage: VS Code version of ImageUrlToData
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xanderschrijen/urltoimage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UrlToImage

Quick Visual Studio Code plugin to embed images in markdown.

Use for:

You have a markdown file with an image link like

https://assets-cdn.github.com/images/modules/open_graph/github-octocat.png .

Your file is no longer self contained.

Run the "URL To Image" (from the command palette) on the selected url and it will be replaced by something like:

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABLAAAAJ2CAIAAADAIuwLA ACLNklEQVR42uzXAQEAAAABIP9PM0S9KAUAAOCSEAIAAAghAAAAQggAAIAQAgAAIIQAAAA IIQAAAEIIAACAEAIAACCEAAAACCEAAABCCAAAgBACAAAghAAAAAghAAAAQggAAIAQAgAAI IRjvw4EAAAAAID8XxvhQlVVVUNYVVXVEFZVVTWEVVVVDWFVVVVDWFVV1RBWVVU1hFVVVUN YVVXVEFZVV ...

Self-containment regained.

Although the GitHub markdown viewer removes the inline data url, so it's of no use there. sigh.

Install

Just clone the repo in your $HOME/.vscode/extensions directory.

About

VS Code version of ImageUrlToData

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0