From 3deec2d0112a33b4ec8c99b1e45db202d8bebb48 Mon Sep 17 00:00:00 2001 From: Ignacio Ballesteros Date: Fri, 20 Feb 2026 10:51:05 +0100 Subject: [PATCH] example: images --- ...cation-image.jpg => external-location-image.png} | Bin notes/example-images.org | 7 +++---- notes/{quartz-logo.jpg => quartz-logo.png} | Bin 3 files changed, 3 insertions(+), 4 deletions(-) rename notes-external/{external-location-image.jpg => external-location-image.png} (100%) rename notes/{quartz-logo.jpg => quartz-logo.png} (100%) diff --git a/notes-external/external-location-image.jpg b/notes-external/external-location-image.png similarity index 100% rename from notes-external/external-location-image.jpg rename to notes-external/external-location-image.png diff --git a/notes/example-images.org b/notes/example-images.org index c630f57a4..b4770af6a 100644 --- a/notes/example-images.org +++ b/notes/example-images.org @@ -11,8 +11,7 @@ must handle. An image hosted on the web — ox-hugo passes the URL through as-is and no local file handling is needed. -#+ATTR_HTML: :alt Quartz logo (external URL) -[[https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkzsTuLOt8esM6enoKwkzqA52G3p9hldlf2g&s][file:quartz-logo.jpg]] +[[https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSkzsTuLOt8esM6enoKwkzqA52G3p9hldlf2g&s][file:quartz-logo-external.png]] * Scenario 2: Local image (same notes directory) @@ -21,7 +20,7 @@ ox-hugo copies files referenced with a relative path into the Hugo =static/= assets tree automatically. #+CAPTION: Quartz logo (local, same notes dir) -[[file:quartz-logo.jpg]] +[[file:quartz-logo.png]] * Scenario 3: External image (outside notes directory) @@ -30,4 +29,4 @@ shared assets folder or a system path. ox-hugo still copies it into =static/= and rewrites the reference. #+CAPTION: Quartz logo (outside notes dir) -[[file:/home/ignaciobll/code/quartz-org-roam/notes-external/external-location-image.jpg]] +[[file:/home/ignaciobll/code/quartz-org-roam/notes-external/external-location-image.png]] diff --git a/notes/quartz-logo.jpg b/notes/quartz-logo.png similarity index 100% rename from notes/quartz-logo.jpg rename to notes/quartz-logo.png