Obsidian Hugo Publish screenshot

Obsidian Hugo Publish

Author Avatar Theme by Kirito41dd
Updated: 19 May 2025
53 Stars

write blog in obsidian, pubulish to hugo site.

Overview

The Hugo PublishThis plugin is a game-changer for bloggers who use Obsidian for their writing process. It seamlessly integrates two powerful tools, allowing users to easily publish their Hugo blogs straight from Obsidian with minimal hassle. By automating the conversion of Markdown files and associated images, it streamlines the whole workflow, making it incredibly efficient for content creators who want to keep everything organized and easily accessible.

With this plugin, not only can you ensure consistency in your Markdown exports, but you also have the convenience of automatic YAML header generation. This thoughtful attention to detail makes Hugo PublishThis an essential tool for anyone looking to elevate their blogging experience.

Features

  • Markdown Conversion: Effortlessly converts Obsidian .md files and associated images to the appropriate Hugo site directory.

  • Link Formatting: Automatically changes internal links from the Obsidian format ([[link.com]]) to Hugo-compatible links ([link.com](link.com)).

  • Image Handling: Converts images while preserving their format; transforms [[xxx.png]] into ![xxx.png](/${static_dir}/xx.png).

  • YAML Header Generation: Automatically generates YAML headers for your Markdown files, including title, date, and last modified information.

  • Easy Configuration: Simple setup process that requires you to complete the plugin settings with blog_tag and hugo_site.

  • Tag Management: Allows you to set tags directly in your Obsidian markdown files using a predefined format.

  • Sync Functionality: Features a “hugo sync” button and command that makes syncing your blog easy and straightforward.

  • Local Server Testing: Provides the ability to run the Hugo server from your site directory, enabling you to preview your blog changes in real time.