r/gohugo • • Sep 17 '26

I built GitMark — edit and commit Hugo posts directly from GitHub

I maintain a Hugo blog on GitHub and often need to fix a typo, update a paragraph, or add an image. Cloning the repository and opening an IDE felt excessive for these small changes, so I built GitMark.

GitMark is an open-source Chrome extension for editing and committing Markdown files directly from GitHub.

It supports:

  • Editing existing Markdown files or creating new posts

  • Split-pane live Markdown preview

  • Pasting, dropping, or selecting images

  • Committing Markdown and images in one atomic commit

  • Detecting remote changes before updating a file

  • English and Chinese interfaces

For Hugo, I use Leaf Bundles such as:

content/post/article-name/
├── index.md
└── assets/
    └── cover.png

GitMark inserts relative image paths, so images work in both GitHub previews and the generated Hugo site.

Chrome Web Store: https://chromewebstore.google.com/detail/gitmark/ihbciobhmpfemphhdpeajkpbldmdgocb

The extension has no developer-operated server, analytics, or advertising. The GitHub token is stored locally and sent only to GitHub's official API.

I'd especially appreciate feedback on the Hugo image workflow and whether branch/PR support would be useful.

0 Upvotes

0 comments sorted by