Convert Org-Roam to Markdown

I recently switched my note taking system from Org Roam to Dendron. Here’s how I converted my notes from org-mode to markdown:

  1. Create an output folder in a copy of your org-roam directory. We’ll copy the markdown versions of your files here.
  2. Run this script in the terminal to use pandoc to convert from org-mode to markdown:
for i in *.org; pandoc --wrap=none -s -f org -t markdown+yaml_metadata_block $i > "output/${}.md"

Note that the --wrap=none is important to keep your linebreaks the same.

  1. Use vscode search in this directory to swap .org) for .md) in the links


Content is copyrighted 2019-2023 © D.S. Chapman. This site was built using GatsbyJS. Code for this website is open source and available on Github