Publish note to GitHub Pages using the bundled publish script.
Publishes an Obsidian note to GitHub Pages with automatic image handling and path conversion. Use this to share notes publicly or privately (password "maco") via your sharehub repository.
/plugin marketplace add ZorroCheng-MC/obsidian-vault-manager-plugin/plugin install obsidian-vault-manager@obsidian-vault-managerPublish note to GitHub Pages using the bundled publish script.
Input: $ARGUMENTS (filename with or without .md extension)
Operation: Publish to GitHub Pages with image handling
Run the bundled publish script directly:
SKILL_DIR="$HOME/.claude/skills/obsidian-vault-manager"
"$SKILL_DIR/scripts/core/publish.sh" "$ARGUMENTS"
The script will:
Wait for GitHub Pages deployment (~60 seconds):
sleep 60
Verify published page using mcp__fetch__fetch
/Users/zorro/Documents/Obsidian/Claudecode/Users/zorro/Dev/sharehubZorroCheng-MC/sharehubhttps://zorrocheng-mc.github.io/sharehubThe script automatically converts:
./images/file.jpg → /sharehub/images/file.jpgimages/file.jpg → /sharehub/images/file.jpgAfter successful publish:
https://zorrocheng-mc.github.io/sharehub/documents/{filename}.htmlPublish with extension:
/publish my-article.md
Publish without extension (auto-adds .md):
/publish my-article
Sharehub supports password-protected documents via frontmatter!
Add access: private to the frontmatter:
---
title: "Confidential Document"
access: private
---
How it works:
access: private → Publicly accessibleaccess: private → Password-protectedFrontmatter:
---
title: "Claude Dev Users: Multi-User Docker Environment"
tags:
- repository
- docker
- infrastructure
access: private
---
Result:
access: private to frontmatter (if needed)/publish filename.mdaccess: private is specifiedBefore publishing, verify:
access: private if document contains sensitive information