mirror of
https://github.com/discourse/discourse.git
synced 2026-08-08 20:18:23 -05:00
* Apply these rules to the display of all keyboard shortcuts in the app: * No shortcuts show a + between keys * On Windows and Linux, show Ctrl and Alt words, but show ⇧ for Shift * On macOS, show ⌃ for Control, ⌘ for Command, ⌥ for Option, and ⇧ for Shift * Use capital letters for the shortcut keys, e.g. Ctrl+S instead of Ctrl+s * Add a filter to the keyboard shortcut help modal to allow searching * Add aria-keyshortcuts attributes to the keyboard shortcuts in the composer toolbar and popup menu options * Adds Ctrl+Enter + Esc shortcuts for composer --------- Co-authored-by: Renato Atilio <renato@discourse.org>
discourse-details
HTML 5.1 <details> polyfill for Discourse.
NOTE: Does not work on IE9, but we don't support IE9 as of Jan 1 2016.
Usage
In your posts, surround text with [details=your summary] ... [/details].
For example:
I watched the murder mystery on TV last night. [details=Who did it?]The butler did it[/details].
Installation
Follow our Install a Plugin howto, using
git clone https://github.com/discourse/discourse-details.git as the plugin command.
Issues
If you have issues or suggestions for the plugin, please bring them up on Discourse Meta.
License
MIT