by malkosta · 2mo ago · 0 comments
find . -name '*.md' -type f -exec sh -c '
for file do
out="docs/${file#./}"
out="${out%.md}.html"
mkdir -p "$(dirname "$out")"
pandoc --quiet --template template.html "$file" -o "$out"
done
' sh {} +As a long-time Emacs user, I also prefer Markdown (and by a wide margin). I have tried so many times over the years, even going all in for a time with Beorg on iOS. But I always come back to Markdown.
Part of it is that I just prefer the Markdown syntax to everything else, but the other part is that I just don't care to use much of the (admittedly super cool) machinery around org, such as task capture, calendars, etc.