Publish Draft Test
This is a manual test draft for the Obsidian-to-Hugo publish script.
Use it by placing this file in one publishable category as:
blog_Workbench/publish-draft-test/publish-draft-test.md
blog_Workbench/publish-draft-test/attachments/cover.png
blog_Workbench/publish-draft-test/attachments/diagram.webp
blog_Workbench/publish-draft-test/attachments/screenshot.jpg
Then add this under # publish in publish.md:
[[blog_Workbench/publish-draft-test/publish-draft-test.md]]
Local Images
Wiki image without alt:

Wiki image with alt:

Wiki image with a numeric width hint. The script should drop the width and log a warning:

Markdown image without attachments/ prefix:

Markdown image with attachments/ prefix:

Remote Image
The script should preserve this URL and not copy anything:

Regular Note Link
The script should warn about this unresolved Obsidian note link and preserve it:
[[some internal note]]
Code Block
The script should ignore image and note syntax inside this fenced code block:
![[not-real.png]]

[[not a warning]]
Expected Output Checks
After a successful publish, the Hugo repo should contain:
content/blog/posts/workbench/publish-draft-test/index.md
content/blog/posts/workbench/publish-draft-test/attachments/cover.png
content/blog/posts/workbench/publish-draft-test/attachments/diagram.webp
content/blog/posts/workbench/publish-draft-test/attachments/screenshot.jpg
The output Markdown image links should use attachments/<filename>.