Skip to content

Commit

Permalink
document the --preserve-conditionals option in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
mojavelinux committed Jun 14, 2023
1 parent f269faa commit 196d213
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ Thus, to use the command, pass the AsciiDoc file as the sole argument:

$ asciidoctor-reducer input.adoc

If you only want AsciiDoctor Reducer to process include directives, leaving preprocessor conditional directives untouched, add the `--preserve-conditionals` option:

$ asciidoctor-reducer --preserve-conditionals input.adoc

By default, the command will output the reduced AsciiDoc document to the terminal (via stdout).
To write the output to a file, specify an output file using the `-o` option:

Expand Down

0 comments on commit 196d213

Please sign in to comment.