Text through Asciidoctor via stdin - how?

Posted by Esben on
URL: https://discuss.asciidoctor.org/Text-through-Asciidoctor-via-stdin-how-tp8378.html

Hi!

I'm on linux.

How do I pass text to Asciidoctor via stdin?

echo 'hey' | asciidoctor

yields an error and just gives me the help-info