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

HTMLHideInputExporter #177

Open
marquiscrespo opened this issue Jul 20, 2023 · 3 comments
Open

HTMLHideInputExporter #177

marquiscrespo opened this issue Jul 20, 2023 · 3 comments

Comments

@marquiscrespo
Copy link

Hi
I'm using handcalc ind Visual Studio Code, and I wondering if there is any way to set the export in HTLM with no input?

Skærmbillede 2023-07-20 102807

I have tried to follow along https://www.youtube.com/watch?v=ZNFhLCWqA_g. But "from handcalcs.install_templates import install_html" -> "install_html()" -> "install_html('full_html_noinputs.tpl") doenst work or can't be found.

Is there any way to make this work in VS CODE?

@egyangelo
Copy link

you can use the following command in powershell in the same folder.

jupyter nbconvert --to html --no-input XXXXXX.ipynb
where XXXXXX is the filename

@connorferster
Copy link
Owner

The "install templates" process is an outdated one based on nbconvert v5. With v6, it became unnecessary.

Currently, When you install handcalcs, you also install the "no_input" exporters. In Jupyter, you can access them from the UI from using File -> Export. VS Code reimplements a subset of the functionality of VS Code so this is a limitation of VS Code. As suggested above, you will have to instead use nbconvert from the command-line.

@thisisapple
Copy link

I have the same problem. I installed nbconvert v7.1. See the screenshot. The no input export options do not exist.
image

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

No branches or pull requests

4 participants