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:

cover

Wiki image with alt:

System diagram

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

screenshot

Markdown image without attachments/ prefix:

Cover again

Markdown image with attachments/ prefix:

Screenshot again

Remote Image

The script should preserve this URL and not copy anything:

Remote placeholder

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 real](missing.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>.