Convert Obsidian notes to Hugo posts
-
Links
- Convert internal links (notes,attachments and heading/anchor) automatically
- Using slug format, get slug from front-matter or convert from file name
- Alert for invalid internal links
- Convert video attachment (.mp4, .webm, .ogg) links to HTML video tags
-
Folders
- Convert all folders in the notes library by default (automatically exclude template folders)
- One or more folders can be specified
- Option to empty target folder (keep "_index.*" files)
-
Date/time of publication
- First look for the specified value from the front-matter, if not found
- Use the creation time and last modified time of the notes file (.md)
git clone https://github.com/nodewee/o2h.git
cd o2h
pdm install
# or pip install -r requirements.txt
python . --help