AO3 Formatting Shortcuts

Keyboard shortcuts for HTML tags

Ekde 2022/12/20. Vidu La ĝisdata versio.

Aŭtoro
Grumblesaur
Ratings
0 0 0
Versio
1.0
Kreita
2022/10/24
Ĝisdatigita
2022/12/20
Size
2,57 kb
Licenco
MIT
Aplikiĝas al

Introduces the following shortcuts to Archive of Our Own text inputs, including comment boxes and new work text fields. When key combination is pressed, html is inserted, with the cursor placed between the tags. Highlighted text in input fields will be surrounded by the tag corresponding to your keystroke.

  • Ctrl b<b></b> – bold
  • Ctrl B<blockquote></blockquote> – block quotation
  • Ctrl C<code></code> – monospace/code
  • Ctrl e<em></em> – semantic emphatic italics
  • Ctrl i<i></i> – italics
  • Ctrl I<img src="" /> – image
  • Ctrl k<cite></cite> – semantic title italics
  • Ctrl m<mark></mark> – highlighting
  • Ctrl q<q></q> – inline quotation
  • Ctrl s<s></s> – struck-through text
  • Ctrl S<strong></strong> – semantic emphatic bold
  • Ctrl u<u></u> – underlined text

On matching sites, this script will prevent the above shortcuts from activating their normal browser functionality.

This script is compatible with AO3 Floating Comment Box.