English | 简体中文
This a plugin based on typora-community-plugin for Typora.
-
Resolve image's path relative to the vault's root.
Example
/assets/image.png
→{vault-path}/assets/image.png
-
Resolve Front Matter
typora-root-url
relative to the vault's root.Example
typora-root-url: /assets
→typora-root-url: {vault-path}/assets
Then we can use the image like this:
![](image.png)
, it will be resolved to![]({vault-path}/assets/image.png)
. -
App Settings → Image → Image Upload Setting → Command, supports new placeholder
${vault}
(it will be replaced to the vault's root path) -
After an image is inserted, the image's absolute path will be simplified to relative path from vault root.
Example
{vault-path}/assets/image.png
→/assets/image.png
image from vault's root | typora-root-url from vault's root |
---|---|
- Install typora-community-plugin
- Open "Settings -> Plugin Marketplace" search "Image Location" then install it.