Hi everyone, Since I made some small progress, I wanted to report here how I found the error so that others might benefit from it too: I installed yamllint ( GitHub - adrienverge/yamllint: A linter for YAML files. ) Since I’m on Macos, using homebrew: brew install yamllint Then I ran the command (found here Support YAML front-matter in markdown files · Issue #161 · adrienverge/yamllint · GitHub ) : cat file.whatever \ | python -c 'import sys; print(sys.stdin.read().split("\n---\n")[0])' ...