This is a small theme component that creates a button in the composer that on-click, will generate a <kbd>Text</kbd> in the composer.
Repository link:
https://github.com/Chaboi45/Discourse-Keyboard-Text/

Preview

https://theme-creator.discourse.org/theme/Chaboi_3000/keyboard-shortcut

Illustration

What it looks like:

12%20PM: 690x210,75%

On click:

35%20PM: 690x265,75%

Composer Preview:

15%20PM: 690x254,75%

If you are interested in using this theme component:

  • Copy https://github.com/Chaboi45/Discourse-Keyboard-Text/ then go to admin > customize > themes > import > web then paste the link.
  • Click Import
  • Select the main theme(s) that users can use and add the component to each theme and you’ll see the theme component in action!