Skip to content

🏷 ImgConverter is chrome extension that converts form image of markdown notation to img tag(<img>) when you upload images

License

Notifications You must be signed in to change notification settings

funzin/ImgConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ImgConverter

imgconverter

Language

Overview

ImgConverter is browser extension that converts form image of markdown notation to img tag(<img>) when you upload images

Browser Extension

Support image format

  • PNG (.png)
  • JPEG (.jpg)
  • GIF (.gif)

Environment

  • Javascript
  • node(v12.1.0)
  • npm(v6.9.0)
  • karma(jasmine)

Confirmed services

  • Github
  • esa
  • Docbase

etc.

DEMO

demo

Usage

It's simple.πŸ‘¨β€πŸ’»

  1. Upload images to issue or pull request or comment on Github
  2. Select markdown image text(Optional)
  3. Tap ImgConverter icon
  4. Converted <img>!!

GIF

Not select text

Text is changed.

Select text

**Selected text** is only changed.

Options

You can set default values for width and height of <img> on option page.

  1. Right click on ImgConverter icon and then tap [Options]


2. Show options page

Example

No input

// before
![title](https://user-images.githubusercontent.com/test.png)

// after
// Default value is `width=50%`
<img src=https://user-images.githubusercontent.com/test.png width=50%>

Input only width

Input width=200px.

// before
![title](https://user-images.githubusercontent.com/test.png)

// after
// Default value is `width=200px`
<img src=https://user-images.githubusercontent.com/test.png width=200px>

Input only height

Input height=200px

// before
![title](https://user-images.githubusercontent.com/test.png)

// after 
// Default value is `height=200px`
<img src=https://user-images.githubusercontent.com/test.png height=200px>

Input width and height

Input width=200px, height=200px

// before
![title](https://user-images.githubusercontent.com/test.png)

// after 
// default value is `width=200px height=200px`
<img src=https://user-images.githubusercontent.com/test.png width=200px height=200px>

Contact

If you discover problem or have opinions, please let me know through Github issuesπŸ’β€β™‚οΈ

Author

funzin, [email protected]

License

ImgConverter is available under the MIT license. See the LICENSE file for more info.

About

🏷 ImgConverter is chrome extension that converts form image of markdown notation to img tag(<img>) when you upload images

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published