/logseq-image-auto-resizer

Automatically resize markdown image in logseq

Primary LanguageTypeScriptMIT LicenseMIT

If you ❤ what i'm doing - you can support my work! ☕

Logseq image auto resizer

logo

A plugin to automatically resize image to your preferred size

Usage

By default, resizer sets image default width & height to 800px. To change the default size, go to Settings -> Plugins -> Logseq image auto resizer.

Development

  1. Fork the repo.

  2. Install dependencies and build the dev version:

    yarn install && yarn run dev
    
  3. Open Logseq and navigate to the plugins dashboard: t p.

  4. Click Load unpacked plugin button, then select the repo directory to load it.

After every change you make in the code:

  1. Rebuild the dev version:

    yarn run dev
    
  2. Open Logseq and navigate to the plugins dashboard: t p.

  3. Find the plugin and click on "Reload".

  4. Ignore the error messages about keyboard shortcut conflicts.