ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Image Link Insertion

by Jan Tojnar ST4

Sublime Text package for quick insertion of many images into markdown document

Details

Installs

  • Total 224
  • Win 129
  • Mac 70
  • Linux 25
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0
Mac 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Image Link Insertion for Sublime Text

Simple helper for inserting images into (not only) markdown documents for Sublime Text.

This is a port of my Atom package to Sublime Text 4. It requires at least Sublime Text 4075.

Usage

  1. Click ToolsInsert images as markup.
  2. Select images using the dialogue that will open.

Inserted code can be customized in settings.

Installation

You can install this package using Package Control using the name “Image Link Insertion”.

For development, you will want to clone the repository into “Image Link Insertion” directory in the Sublime Text’s Packages directory (PreferencesBrowse Packages…):

git clone git@github.com:jtojnar/sublime-image-link-insertion.git 'Image Link Insertion'

(Or create a symlink with such name from your projects directory.)

Customization

You can adjust any of the supported configuration keys in the editor-wide settings (accessible via PreferencesPackage SettingsImage Link InsertionSettings).

You can also override the options for individual projects or views, based on active syntax – in those cases, follow the same syntax as the package settings but nest it under image-link-insertion key (for projects, also under the settings key):

// These settings override both User and Default settings for the LaTeX syntax
{
    "image-link-insertion": {
        "image_code": "\\begin{{figure}}\n\\includegraphics{{{url}}}\n\\end{{figure}}\n"
    }
}