Pandoc

..

https://pandoc.org/ | https://github.com/jgm/pandoc/

Pandoc dubs itself a “markup format” converter. It can take a document in one of the supported formats and convert only its markup to another format. Maintaining the look and feel of the document is not a priority.

2023-03-09

I may have found a bug in Pandoc

No link in pandoc:

cat <<EOF | pandoc --from org --to json
visa writes in [[id:7d7ef8e9-9312-4cbe-9fc9-12ff7bda489b][visakanv's 50yr "plan" for global nerd network [wip]​]]:
EOF

Simplified, still no link:

echo "#+begin_src json"
cat <<EOF | pandoc --from org --to json
visa writes in [[id:abc123][xx "plan" xx [wip]​]]:
EOF
echo "#+end_src"

Removing quotations, what now?

echo "#+begin_src json"
cat <<EOF | pandoc --from org --to json
visa writes in [[id:abc123][xx [wip]​]]:
EOF
echo "#+end_src"

No link.

Removing wip with brackets, what now?

echo "#+begin_src json"
cat <<EOF | pandoc --from org --to json
visa writes in [[id:abc123][xx wip​]]:
EOF
echo "#+end_src"

It’s a link! 🎉