You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Quote will take the currently selected HTML from the specified quote region, convert it to markdown, and create a quoted representation of the selection.
insert will insert the string representation of a selected text into the specified text area field.
UsingMarkdownQuote instead ofQuote will ensure markdown syntax is preserved.
The optionalscopeSelector parameter ofMarkdownQuote ensures that even if the user selection bleeds outside of the scoped element, the quoted portion will always be contained inside the scope. This is useful to avoid accidentally quoting parts of the UI that might be interspersed between quotable content.
Development
npm installnpm test
License
Distributed under the MIT license. See LICENSE for details.
About
Install a shortcut to append selected text to a <textarea> as a Markdown quote.