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.

7 lines
575 B

file=$1
neorg-pandoc-linux86 $file | sed "s/\"pandoc-api-version\":\[[0-9]\+,[0-9]\+,[0-9]\+\]/\"pandoc-api-version\":[1,20,0]/" | jq | pandoc -f json -s -t html5 -c ./note.css -o ${file}.html --metadata title="notes"
#neorg-pandoc-linux86 $file | sed "s/\"pandoc-api-version\":\[[0-9]\+,[0-9]\+,[0-9]\+\]/\"pandoc-api-version\":[1,20,0]/" | jq | pandoc -f json -s -t markdown -o ${file}.md
neorg-pandoc-linux86 $file | sed "s/\"pandoc-api-version\":\[[0-9]\+,[0-9]\+,[0-9]\+\]/\"pandoc-api-version\":[1,20,0]/" | jq | pandoc -f json -s -t markdown_mmd -o ${file}.md