AO3 Formatting Shortcuts

Keyboard shortcuts for HTML tags

Verze ze dne 27. 10. 2022. Zobrazit nejnovější verzi.

Autor
Grumblesaur
Hodnocení
0 0 0
Verze
0.6
Vytvořeno
24. 10. 2022
Aktualizováno
27. 10. 2022
Size
2,6 KB
Licence
MIT
Spustit na

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.

  • 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 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

Highlighted text in input fields will be surrounded by the tag corresponding to your keystroke.

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