            --from=markdown \
            -c $HOME/.pandoc/styles/buttondown.css \
            --filter=pandoc-expandpaths.py \
            --standalone \
            --mathjax \
            --email-obfuscation=javascript \
            ${options[@]:-} \
            -o "$destfile" -- "$basefilename.$ext"
        done=1
        break
    fi
done

(( "$done" )) || { echo "Error: no source file was found!"; exit 1;}