#!/bin/bash
mdq -c file.path --noheader . | while IFS= read -r md; do
mdlint --ignore-missing-frontmatter "schema.json" "$md" ||exit 1
done