The asciidoctor command follows the Unix convention of using a hyphen to tell the command to read from stdin.
echo hi | asciidoctor -
Best Regards,
-Dan
-Dan
On Sat, Dec 5, 2020 at 3:11 AM Esben [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
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
--