mkdocs-jupyter
mkdocs-jupyter copied to clipboard
Plugin Option to remove In [ ] and Out [ ]
From the docs:
Setting noinput: True removes the input (as the name implies) and the Out [...].
Setting show_input: false (without setting noinput):
In our use case, we would like to show Input and Output cells but not these prefixes In[ ] and Out[ ], as they take away space, especially on mobile:
Our workaround was the following:
.jp-InputPrompt, .jp-OutputPrompt {
display: none !important;
}
But I guess many people want to optimize code listings to save space for mobile, therefore, I suggest adding two options:
- hide_in
- hide_out
This would allow to remove no_input as the same could be achieved by combining hide_in: True & show_input: False - only about the "other metadata" I'm not sure what that is? Perhaps cell tags?
WDYT?
I would love this.