OpenUserJS
  • Userscripts
  • Libraries
  • Groups
  • Discussions
  • Users
  • Sign In / Sign Up

NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.

  1. Forum
  2. The Garage
  3. Markdown doesn't render kbd element correctly
Mottie Author
Aug 2020

In my userscript markdown, I've included kbd HTML elements, but they do not render properly

Example:

<kbd>Shift</kbd>+<kbd>Ctrl</kbd>+<kbd>x</kbd>

Renders as:

Shift+Ctrl+x


Hmm, when I use preview, it renders correctly, but in my script info, it doesn't: https://openuserjs.org/scripts/Mottie/GitHub_Custom_Hotkeys

2020-08-08 19_28_35-About _ GitHub Custom Hotkeys _ Userscripts _ OpenUserJS

Marti Admin
Aug 2020

Re: @Mottie:

Thanks for the report. Good guess on the dependency... that's not what I thought when I looked at this yesterday but it seems to be accurate.

Follow:

  • markedjs/marked#1745
Marti Admin
Jun 2022

Test

GFDL
Donate © 2013+ OpenUserJS
  • About
  • Terms of Service
  • Privacy Policy
  • DMCA
  • Development
  • Collaborators

Donate for the site OpenUserJS

Are you sure you want to go to an external site to donate a monetary value?

WARNING: Some countries laws may supersede the payment processors policy such as the GDPR and PayPal. While it is highly appreciated to donate, please check with your countries privacy and identity laws regarding privacy of information first. Use at your utmost discretion.
Donate