Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maoxiaoke/image-resizer
This plugin allow you resize your notes of Obsidian.
https://github.com/maoxiaoke/image-resizer
obsidian-plugin
Last synced: 3 months ago
JSON representation
This plugin allow you resize your notes of Obsidian.
- Host: GitHub
- URL: https://github.com/maoxiaoke/image-resizer
- Owner: maoxiaoke
- License: mit
- Created: 2023-09-04T11:33:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-07T04:41:16.000Z (over 1 year ago)
- Last Synced: 2024-04-23T04:57:53.238Z (9 months ago)
- Topics: obsidian-plugin
- Language: TypeScript
- Homepage:
- Size: 38.5 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Overview
This plugin allow you resize your notes of Obsidian.
Support the development of my plugins and themes **@xiaokedada** on [Twitter](https://twitter.com/xiaokedada) or [Buy me a coffee](https://www.buymeacoffee.com/nazha).
## Install
Because this plugin has not yet been released to the community, you can clone this repo to the `plugins` directory in your vault's [`.obsidian` directory](https://help.obsidian.md/Files+and+folders/How+Obsidian+stores+data) so that Obsidian can find it.
1. Open a terminal window and change this project directory to the `plugins` directory.
```shell
cd path/to/valut
cd .obsidian/plugins
```2. Clone this repo using Git.
```shell
git clone [email protected]:maoxiaoke/image-resizer.git
```3. Restart the Obsidian.
## Usage
In simple terms, this plugin search the keyword of `alt` in Obsidian [Wikilinks](https://help.obsidian.md/Linking+notes+and+files/Internal+links) and MarkDown Links.
```text
![[wallhaven-p9o51m.png | fit rounded]]![fit rounded](wallhaven-p9o51m.png)
```Those keywords are:
### width
- `full`, 100% width of the page width
- `wide`, 88% width of the page width
- `fit`, 80% width of the line width
- `half`, 50% width of the line width
- `1/2`, the same as `half`
- `2/3`
- `3/5`
- `4/5`
- `5/6`This plugin of support arbitrary width values follow by `w-`, such as `w-300`. This feature can be turned on in the plugin's settings.
## Position
- `center`, the default
- `left`
- `right`## Styles
- `rounded`
- `rounded-full`