Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FR] Batch Processing to Different File Formats #439

Open
TheCedarPrince opened this issue Sep 1, 2021 · 0 comments
Open

[FR] Batch Processing to Different File Formats #439

TheCedarPrince opened this issue Sep 1, 2021 · 0 comments

Comments

@TheCedarPrince
Copy link

Would there be interest in me creating a PR to enable a new feature for batch processing of one file to multiple different output types? My use case is that often, I need to convert one jmd file to multiple outputs like notebooks, pdfs, etc. I would love to add in a feature to Weave.jl that looks something like this:

weave_batch("myfile.jmd"; out_files = Dict(
     "PDF" => (out_path = "folder1/myfile.pdf", cache = :all), 
     "IPYNB" => (out_path = "folder2/myfile.ipynb", highlight_theme = ...)
)

Where the dictionary keys could define what file format to convert the given document to and the values are the associated kwargs to that converstion. Could I create a PR for this feature? Or would it not be good for Weave? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant