Thanks to visit codestin.com
Credit goes to github.com

Skip to content

HashtagMarkus/obsidian2hugo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

obsidian2hugo

Usage

obsidian2hugo --help
This tool was created to be able to export blog posts created inside obsidian for the usage inside a hugo blog.

Usage:
  obsidian2hugo [flags]

Flags:
  -t, --descriptionSection string   The content below this h2 header is used as the frontmatter description (default "tl;dr")
  -d, --destination string          Destination of hugo posts folder (e.g. <hugoroot>/content/posts)
  -h, --help                        help for obsidian2hugo
  -c, --keepDescriptionTitle        Don't delete the h2 header of the description after frontmatter extraction
  -k, --keepTitle                   Don't delete h1 header after frontmatter extraction
  -s, --source string               Source to obsidian markdown files (root of blog posts tree, e.g.: <obsidianvault>/blogposts) (default ".")

Description

Read more about this tool in my blog

Additional notes

The code under the subdirectory cmd/parser was taken from the hugo repository in compliance with the Apache License 2.0. The code under said subdirectory was not changed by the author of obsidian2hugo.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages