Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtojnar/sublime-image-link-insertion
Sublime Text package for quick insertion of many images into markdown document
https://github.com/jtojnar/sublime-image-link-insertion
images markdown sublime-text
Last synced: 5 days ago
JSON representation
Sublime Text package for quick insertion of many images into markdown document
- Host: GitHub
- URL: https://github.com/jtojnar/sublime-image-link-insertion
- Owner: jtojnar
- License: mit
- Created: 2022-04-22T10:34:32.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T21:08:53.000Z (about 2 years ago)
- Last Synced: 2024-11-17T06:42:09.861Z (2 months ago)
- Topics: images, markdown, sublime-text
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](https://github.com/jtojnar/markdown-image-insertion) to Sublime Text 4. It requires at least Sublime Text 4075.
## Usage
1. Click `Tools` → `Insert 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](https://packagecontrol.io/installation) 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 (`Preferences` → `Browse Packages…`):
```
git clone [email protected]: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](image-link-insertion.sublime-settings) in the editor-wide settings (accessible via `Preferences` → `Package Settings` → `Image Link Insertion` → `Settings`).
You can also override the options for [individual projects](https://www.sublimetext.com/docs/projects.html#settings-key) or [views, based on active syntax](https://www.sublimetext.com/docs/settings.html#syntax-specific-settings) – 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):
```json
// 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"
}
}
```