Beginner, using Obsidian to (also) create web pages for personal web-site. Will welcome constructive advice if there’s a better workflow…
What I’m trying to do
Have created markdown files with YAML meta-data. Specifically title: "Courses"
. Then, use pandoc with a lua-filter to convert from .md to .html.
Things I have tried
At first, pandoc complained that there was no “title” meta-data (and defaulted to using the file-name). Experimented with pagetitle
and other meta-data. Tried tweaking the lua-filter.
It turns-out that pandoc will work if use the one-line format (as above), whereas Obsidian’s property feature defaults to list-format, eg
title:
- "AI Courses"
By changing the Obsidian presentation to SourceMode, this can be fixed manually - and pandoc is happy.
Is there a method of specifying that meta-data be formatted as single-lines, and that list-format only be used if there are more entries, eg multiple-authors or update-dates?
Alternately, is there a better way… ?