obsidian2hugo

command module
v0.0.0-...-132bbe1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

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.

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

Directories

Path Synopsis
cmd
parser/pageparser
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.
Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL