danielfrg / mkdocs-jupyter

Use Jupyter Notebook in mkdocs
https://mkdocs-jupyter.danielfrg.com
Apache License 2.0
367 stars 45 forks source link

Feature: support `no_prompt` #155

Closed fresh2dev closed 9 months ago

fresh2dev commented 1 year ago

I was looking for an option to show all input and output cells, but not show the In[#]/Out[#] cell numbers. I did not find such an option and ended up hiding the cell numbers/prompts with the CSS hack recommended here:

https://github.com/danielfrg/mkdocs-jupyter/issues/82#issuecomment-1403141027

Referencing the support and implementation of the no_input parameter, mkdocs-jupyter should also support a parameter no_prompt that hides the In[#]/Out[#] cell numbers without the need for CSS hacks.

https://nbconvert.readthedocs.io/en/latest/config_options.html

bgriffen commented 10 months ago

Seconded! I'd use it immediately. I'm also trying to expand the width of the column as there is a lot of dead space taken up by the In[#]Out[#] so being able to remove these would certainly improve readability.

danielfrg commented 9 months ago

Closing in favor of https://github.com/danielfrg/mkdocs-jupyter/issues/170 I will try to get to this soon