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