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
<kbd> tag does not render in notebook #4374
Comments
Fixing this (and other tags mentioned in #1812 such as sup/sub, colspan/rowspan) should be very straightforward, so tagging this as a good first issue. These tags just need to be added to the security whitelist:
Here is another PR that did exactly this for the del tag: #3771 PRs adding kbd and the other tags above to the whitelist are more than welcome! |
I've opened a PR here: #4618 |
Fixed by #4618. |
It looks like we can use |
Nice idea. I'm going to reopen this as a good first issue. There is some sample A new
|
Just to throw it out, blueprint does provide styling of kbd:
https://blueprintjs.com/docs/#core/components/hotkeys.dialog
However, I am highly against making bp part of the renderedhtml dependency
chain, as then we're right back in bootstrap land, and I would like to keep
the eventual lab-forward nbconvert target as lean as we can make it.
I actually like the dropshadow, but the fake 3d shine is gross. GitHub also
has a nice one:
https://help.github.com/en/articles/using-keyboard-shortcuts
Anyhow, whatever ends up happening, it should expose some theme variables
so that a theme author can make them look like Atari buttons or whatever.
Pew pew pew!
|
I sent a PR at #6025. |
* Add kbd style Fixes #4374 * Update index.css * Update index.css * Lint fix.
* Add kbd style Fixes jupyterlab#4374 * Update index.css * Update index.css * Lint fix.
Using
<kbd></kbd>
in Jupyter notebook renders to a keyboard key markup like Ctrl. In the Jupyter lab notebook, nothing really happens. Could be related to #1812 .The text was updated successfully, but these errors were encountered: