Skip to content
5 changes: 3 additions & 2 deletions docs/tips/adding-images.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Adding Images

>[!tip]
> The extension uses the traditional `![]()` syntax to link to the image, but you may switch to using the [[embed|wiki-link embedding syntax]] (`![[]]`) as it has the advantage of not needing to specify the full path to the image (thus allowing you to the move the image around under the notebook without breaking referring links). [[emanote-template]] is already configured to do this by default.

If your image is already copied in the OS clipboard---many screenshoting tools[^scr] already provide this capability---and if you use [[vscode]], you can use the [Paste Image](https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image) extension to *directly paste* it in your Markdown note. This does the following,

Expand All @@ -12,5 +10,8 @@ If your image is already copied in the OS clipboard---many screenshoting tools[^

It basically automates the workflow of having to manually move the image file to your notebook, and then writing the Markdown image syntax to link to it.

>[!tip]
> The extension uses the traditional `![]()` syntax to link to the image, but you may switch to using the [[embed|wiki-link embedding syntax]] (`![[]]`) as it has the advantage of not needing to specify the full path to the image (thus allowing you to the move the image around under the notebook without breaking referring links). [[emanote-template]] is already configured to do this by default.


[^scr]: On Linux, you may use [GNOME screenshot](https://help.gnome.org/users/gnome-help/stable/screen-shot-record.html.en) or (if using a tiling window manager) [maim](https://github.com/naelstrof/maim).
1 change: 1 addition & 0 deletions emanote/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
- Enable auto identifier for org files ([\#502](https://github.com/srid/emanote/pull/502))
- Bug fixes:
- Emanote no longer crashes when run on an empty directory ([\#487](https://github.com/srid/emanote/issues/487))
- Remove footnotes from `og:description` ([\#529](https://github.com/srid/emanote/pull/529))
- Stork search fixes
- Fix empty stork index generation when using more than 1 layer ([\#493](https://github.com/srid/emanote/issues/493))
- Stork search index is now uses note path from their associated layer ([\#495](https://github.com/srid/emanote/pull/495))
Expand Down
11 changes: 6 additions & 5 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
ema.inputs.treefmt-nix.follows = "treefmt-nix";
ema.inputs.flake-root.follows = "flake-root";

heist-extra.url = "github:srid/heist-extra";
heist-extra.url = "github:TristanCacqueray/heist-extra/ignore-note";
heist-extra.flake = false;

unionmount.url = "github:srid/unionmount";
Expand Down