Giter Site home page Giter Site logo

markdowninlineimages's Introduction

MarkdownInlineImages

MarkdownInlineImages is a plugin that renders your images below their link. Why? Because markdown is just great, except for images. Reading a markdown file is really easy, almost as easy as a it can be once it's converted to HTML for example, if you have a good color scheme. Except for images. This plugin just completes this gap ๐Ÿ˜„

MarkdownInlineImages

So, to use it, just press alt+i, or, from the command palette, select MarkdownInlineImages: Render Images. All the images will rendered.

The actual behaviour

When you press alt+i, the image are rendered, except if you haven't made any change to the buffer, it'll hide all of them. So, if you want to hide the images, just press twice alt+i.

Which type of image for it work with?

You can use images loaded from internet, or relative to your file. The support formats are:

  • PNG
  • BMP
  • JPG
  • GIF

Note: Every images rendered is cached in a single file. Even the local ones (because they are converted to base64)

Can I use references?

Yes, you can!

image link with references

Hum... The link goes usualy below the image, no?

This is a personal preference... But, I added a settings so that it fits your need (stop looking behind you, I'm talking to you ๐Ÿ˜œ)

Open up your settings:

  • from the command palette (ctrl+shift+p) and search for Preferences: MarkdownInlineImages Settings
  • from the menus: Preferences โ†’ Package Settings โ†’ MarkdownInlineImages

And set the setting display_image_above_markup to true. Here's what you'll get:

display_image_above_markup

Pro tip: images are clickable.

markdowninlineimages's People

Contributors

math2001 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.