Skip to main content
edited body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Tampermonkey, Violentmonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Tampermonkey, Violentmonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Tampermonkey, Violentmonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

deleted 8 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Firefox+GreasemonkeyTampermonkey, Chrome+TampermonkeyViolentmonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Firefox+Greasemonkey, Chrome+Tampermonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Tampermonkey, Violentmonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

added 266 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Screenshot###Old Screenshot (Last 23 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Firefox+Greasemonkey, Chrome+Tampermonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags

when editing posts.

###Screenshot (Last 2 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

###Download / Install:

Install the script from GitHub: Install

Requires Firefox+Greasemonkey, Chrome+Tampermonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

###About: This script adds buttons and keyboard shortcuts that make it easy to add/remove:

  • <kbd> tags
  • Superscripts and subscripts
  • <del> tags
  • <br> tags
  • &emsp;

when editing posts.

###Old Screenshot (Last 3 tags not shown):

This script in action

###To use:

Click the button or press AltK on the keyboard and <kbd></kbd> will be inserted at the cursor.
If text is selected, it will be wrapped by the <kbd> tags instead.

Likewise for the Superscript and Subscript tags, the keyboard shortcuts are Alt and Alt (Up arrow and Down arrow).

The delete (semantic strikethrough) shortcut is AltX.
While breaks (<br>) are inserted via click or the AltB shortcut.
And &emsp;s use AltM.

Tags are wrapped and unwrapped the same way that other markup (Bold, Italic, etc.) is -- including how whitespace and nested tags are handled.

Update: <kbd> now wraps in word mode. So Ctrl P becomes <kbd>Ctrl</kbd> <kbd>P</kbd>, etc.
All other tags wrap normally (unless they don't have an end tag).

###Download / Install:

Install the script from GitHub: Install

Requires Firefox+Greasemonkey, Chrome+Tampermonkey, or equivalent userscript engine.

###Code:

Find the source on GitHub at: BrockA/SE-misc/Add_kbd_sup_sub_shortcuts.user.js

You may also make bug reports, pull-requests, etc. there.


Inspired by the question, "Markdown syntax for <kbd>foo</kbd>".

added 290 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
replaced http://meta.stackoverflow.com/ with https://meta.stackoverflow.com/
Source Link
Loading
added 42 characters in body; edited title
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
deleted 64 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
deleted 8475 characters in body; edited tags
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
Add support for https
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
Updated button cosmetics
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
added 36 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
Add magic meta fields for script posting
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
edited tags
Link
Tim Stone
  • 4.7k
  • 3
  • 22
  • 32
Loading
added 110 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
added 7932 characters in body
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading
Source Link
Brock Adams
  • 13k
  • 5
  • 39
  • 64
Loading