Skip to content

feat: allow multiple output formats#1005

Open
jcs-zfc wants to merge 1 commit intodatalab-to:masterfrom
jcs-zfc:multipleOutputFormats
Open

feat: allow multiple output formats#1005
jcs-zfc wants to merge 1 commit intodatalab-to:masterfrom
jcs-zfc:multipleOutputFormats

Conversation

@jcs-zfc
Copy link

@jcs-zfc jcs-zfc commented Mar 4, 2026

Issue
The --output_format parameter currently only accepts a single choice. When multiple formats (e.g., JSON, HTML, and Markdown) are needed, the user has to run the tool multiple times, which is inefficient.

Solution

  • Updated --output_format to accept comma separated list of formats.
  • Render only once for efficiency.
  • Output meta and images only once.
  • Maintained backward compatibility by passing the first requested format to the converter.

(Note: This is the second of three independent PRs to improve marker.)

- Render only once for efficiency.
- Output meta and images only once.
- Pass the first requested format to the converter for backward compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant