You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
272 B

#!/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}" $@