Skip to content

takmatsukawa/obsidian-hatena

Repository files navigation

Obsidian Hatena Blog Publisher

English | 日本語

Post directly to your Hatena Blog from Obsidian.

Initial setup

Please set the editing mode of Hatena Blog to "Markdown mode" in advance. You can set it in the "Editing Mode" of the Basic Settings page or in the "Editing Mode" of each blog's settings page.

For this plugin to work, you will need to provide your Hatena blog's root endpoint and API key.

Settings:

  • API Key: You can obtain the API key from Hatena account settings page.
  • Root Endpoint: You can obtain the root endpoint from Hatena Blog settings page: Advanced > AtomPub.

How to Use

Commands:

  • Publish this note: Posts the current active note to Hatena Blog.
  • Post this note as a draft: Posts the current active note to Hatena Blog as a draft.
  • Delete the article of this note: Deletes the article of the current active note from Hatena Blog.
  • Insert table of contents: Insert a table of contents. It will only appear as a table of contents on the Hatena Blog screen.

Tips

Comments

You can add comments by wrapping text with %% in the note. Comments are only visible in Obsidian's Editing view and will not be published to Hatena Blog.

This is an %%inline%% comment.

%%
This is a block comment.

Block comments can span multiple lines.

You can [[link]] to other notes in the comment.
%%

Feedback

If you encounter any issues or would like to request a new feature, please submit them here or notice me.