cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
120 stars 16 forks source link

Exporting as PDF #66

Open claireboyd opened 1 year ago

claireboyd commented 1 year ago

Is there a way to export SQL notebooks as PDFs easily? Thanks!

cmoog commented 1 year ago

Not at the moment. I think I've seen this feature request from others, so I'll prioritize it for future work.

cmoog commented 1 year ago

@claireboyd UChicago!

claireboyd commented 1 year ago

Small world! I could be interested in collaborating to add it if that would help - I'm not sure how big a lift it might be, but would be happy to learn.

claireboyd commented 1 year ago

also my friend/fellow CAPP student @divij-sinha would be down to collab to make this work as well!

cmoog commented 1 year ago

@claireboyd @divij-sinha Great! I'd be happy to accept this as a contribution. Here are some high level steps on how I think this should be accomplished

If you make some progress and want to open a draft PR I'll be happy to give feedback along the way or iron out any issues you're having. In general, the VS Code extension API can be a bit tricky to work with but the docs are great.

bmrussell commented 1 year ago

Just chipping in with a suggestion :

Exporting the whole lot to markdown might be easier & more flexible as conversion to pdf, html could be done from the complete markdown.

Even a select all, copy-as-markdown would be cool