Skip to main content

A Python Markdown extension for keyboard shortcuts

Project description


The toro-shortcut converts your keyboard shortcut into a customized tag. The tag will contain three attributes; linux, macos, and windows. The values in the attributes will be the keyboard shortcut using the symbols of the corresponding OS.


pip install toro-shortcuts


The markdown syntax will be the keyboard shortcut between two questions marks. A plus sign will be used to separate the keys. MOD will be used as a generic symbol for both the ctrl and command key.


The produced HTML of the markdown syntax will be:

<p><kbd linux="Ctrl + A" macos="⌘A" winodws="Ctrl + A"></kbd></p>


Markdown Windows/Linux macOS
??mod?? Ctrl
??alt?? Alt
??enter?? Enter
??shift?? Shift
??ctrl?? Ctrl
??left?? Left
??right?? Right
??up?? Up
??down?? Down
??tab?? Tab
??esc?? Esc
??space?? Space Space

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for toro-shortcuts, version 1.4
Filename, size File type Python version Upload date Hashes
Filename, size toro_shortcuts-1.4-py3-none-any.whl (2.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size toro-shortcuts-1.4.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page