AO3 Formatting Shortcuts

Keyboard shortcuts for HTML tags

Autor
Grumblesaur
Denne inštalácií
0
Celkový počet inštalácií
40
Hodnotenie
1 0 0
Verzia
1.4.2
Vytvorené
24.10.2022
Aktualizované
30.01.2024
Veľkosť
3,8 KB
Licencia
MIT
Spustiť 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. Highlighted text in input fields will be surrounded by the tag corresponding to your keystroke.

  • Ctrl b<b></b> – bold
  • Ctrl d<details></details> – a hideable element
  • Ctrl e<em></em> – semantic emphatic italics
  • Ctrl i<i></i> – italics
  • Ctrl k<cite></cite> – semantic title italics
  • Ctrl l<li></li> – list item
  • Ctrl m<mark></mark> – highlighting
  • Ctrl p – <p></p> – paragraph
  • Ctrl o<ol></ol> – ordered list
  • Ctrl q<q></q> – inline quotation
  • Ctrl s<s></s> – struck-through text
  • Ctrl u<u></u> – underlined text

  • Ctrl Shift b<blockquote></blockquote> – block quotation
  • Ctrl Shift c<code></code> – monospace/code
  • Ctrl Shift i<img src="" alt="(image description here)" /> – image
  • Ctrl Shift m<summary></summary> – heading for a <details> element
  • Ctrl Shift n<br/> – forced line break
  • Ctrl shift s<strong></strong> – semantic emphatic bold
  • Ctrl Shift u<ul></ul> – unordered list

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.