#!/opt/homebrew/bin/bash source_file="$1"; shift; format="${2:-html5}"; shift; echo "$@" neorg-pandoc-linux86 "${source_file}" | \ sed "s/\"pandoc-api-version\":\[[0-9]\+,[0-9]\+,[0-9]\+\]/\"pandoc-api-version\":[1,20,0]/" | \ #jq | \ #pandoc -f json -w "${format}" $@