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
@@ -100,9 +100,9 @@ The main function to process PDFs.
100
100
|`input_path`|`List[str]`| ✅ Yes | — | One or more PDF file paths or directories to process. |
101
101
|`output_dir`|`Optional[str]`| No | input folder | Directory where outputs are written. |
102
102
|`password`|`Optional[str]`| No |`None`| Password used for encrypted PDFs. |
103
-
|`format`|`Optional[List[str]]`| No |`None`|Output formats to generate (e.g. `"json"`, `"html"`, `"pdf"`, `"text"`, `"markdown"`, `"markdown-with-html"`, `"markdown-with-images"`).|
103
+
|`format`|`Optional[Union[str, List[str]]]`| No |`None`|Comma-separated output formats to generate. (json, text, html, pdf, markdown, markdown-with-html, markdown-with-images)|
104
104
|`quiet`|`bool`| No |`False`| Suppresses CLI logging output when `True`. |
105
-
|`content_safety_off`|`Optional[List[str]]`| No |`None`|List of content safety filters to disable (e.g. `"all"`, `"hidden-text"`, `"off-page"`, `"tiny"`, `"hidden-ocg"`).|
105
+
|`content_safety_off`|`Optional[Union[str, List[str]]]`| No |`None`|Comma-separated content safety filters to disable. (all, hidden-text, off-page, tiny, hidden-ocg)|
106
106
|`keep_line_breaks`|`bool`| No |`False`| Preserves line breaks in text output when `True`. |
107
107
|`replace_invalid_chars`|`Optional[str]`| No |`None`| Replacement character for invalid or unrecognized characters (e.g., �, `\u0000`). |
108
108
|`use_struct_tree`|`bool `| No |`False`| Enable processing structure tree (disabled by default). |
|`options.quiet`|`boolean`|`false`| Suppress CLI logging output and prevent streaming. |
164
-
|`options.contentSafetyOff`|`string[]`|`undefined`|Disable one or more content safety filters (`all`, `hidden-text`, `off-page`, `tiny`, `hidden-ocg`).|
--content-safety-off <arg> Disables one or more content safety filters. Accepts a comma-separated list of filter names. Arguments: all, hidden-text, off-page, tiny, hidden-ocg
0 commit comments