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 277
  • Win 159
  • Mac 88
  • Linux 30
Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15
Windows 0 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 1 2 0 0 0 0 0 1 0 0
Mac 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 1 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 0 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"
    }
}