You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a "nice to have" for sure, but I can't see the necessity of it especially since we can cat the output. Could you explain a use-case where a pipe is a necessity?
I can't actually fix the issue or anything but I'm curious to see how you use it.
It's a unix philosophy thing, mostly. Writing to stdout makes it easier to chain together programs without intermediate files.
Something like:
obsidian-export doc.md | sed 's/today/9-19-21/' | pandoc -f markdown -t html | ./upload-to-server.sh
It's especially important when you're processing a whole bunch at once (with parallel for instance) and don't want to litter your filesystem with temporary files you need to clean up later.
It would be useful to support printing the output to stdout instead of providing a filename.
That way you could pipe the output to another program like:
obsidian-export doc.md | pandoc -f markdown -t html
The text was updated successfully, but these errors were encountered: