AO3 Formatting Shortcuts

Keyboard shortcuts for HTML tags

作者
Grumblesaur
日安装量
0
总安装量
40
评分
1 0 0
版本
1.4.2
创建于
2022-10-24
更新于
2024-01-30
大小
3.8 KB
许可证
MIT
适用于

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.