Skip to content

fzdwx/hugo-preview-obsidian

Repository files navigation

Hugo preview in obsidian

hugo preview in obsidian.

Features

  • Open a custome iframe to preview hugo (via https://github.com/Ellpeck/ObsidianCustomFrames)
  • Start hugo server in the background
    • There is still a bit of a problem currently, the child process (hugo process) does not close when the program launches.
    • Support add custom flags for hugo server, default is --navigateToChanged
  • A customer command setting, default is Alt+F12, you can think of it as a shortcut to execute a command, I set it to start the terminal wezterm start --class float --cwd ${cwd}.

Usage

Click on the gopher icon on the status bar

image

Screenshot

Record_select-area_20230111192058

Resource

  1. CHANGELOG.md