AO3 Formatting Shortcuts

Keyboard shortcuts for HTML tags

2022/10/24のページです。最新版はこちら。

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください。
作者
Grumblesaur
評価
0 0 0
バージョン
0.5
作成日
2022/10/24
更新日
2022/10/24
大きさ
2.38KB
ライセンス
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.

  • Ctrl b<b></b> – bold text
  • Ctrl B<blockquote></blockquote> – block quotation
  • Ctrl e<em></em> – italic text, emphasized by screen readers
  • Ctrl i<i></i> – italic text
  • Ctrl q<q></q> – inline quotation
  • Ctrl s<s></s> – struck-through text
  • 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.