You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Go to file
Nick Dumas 0b0bdcd5f4 drafting the readme 2 years ago
Resources Using a map to guarantee uniqueness of error output 2 years ago
cmd Code cleanup for public release 2 years ago
fsm named error types 2 years ago
gloss Implementing lipgloss into help/usage output 2 years ago
tmp/blog/content/posts/mapping-aardwolf first draft 2 years ago
.gitignore ignore that, it doesn't exist 2 years ago
LICENSE whatever 2 years ago
README.md drafting the readme 2 years ago
attachments.go Refactoring validation code out of cmd/ 2 years ago
blerp.go Refactoring validation code out of cmd/ 2 years ago
go.mod output says validation is successful. more testing needed 2 years ago
go.sum output says validation is successful. more testing needed 2 years ago
notes.go Refactoring validation code out of cmd/ 2 years ago
pipeline.go Refactoring validation code out of cmd/ 2 years ago
posts.go Implementing lipgloss into help/usage output 2 years ago
validate.go Code cleanup for public release 2 years ago

README.md

obsidian-pipeline

Features

obsidian-pipeline or obp enables headless management of your Obsidian vault.

Maintaining a collection of notes involves a lot of logistical overhead.

Validation

Markdown allows you to preface your document with another, typically in YAML, that contains metadata about the document. A common use-case for this is in static site generators; Hugo checks your Markdown document's frontmatter for properties like title to help it make rendering decisions.

When you have data, making sure it's consistent is pretty important. For example, Hugo uses the boolean draft property to determine whether a post will be included in the generated site output. A personal blog is a low stakes example, but a business managing internal vs external documentation or otherwise enforcing standards could save themselves a lot of effort and headache if it were possible to automate the process of verifying the layout and disposition of their data.

The good news is that we don't have to invent anything here. Schemas exist precisely for this reason