Screenshot / Code Snippet

reference workflow animation


Referencing other posts properly by hand is tedious: one has to link to users' profiles as usernames are subject to change any time, as well as to their post. Magic Answer References userscript makes all this as easy as clicking a button! It adds a button to the editor (right next to the Stacks Snippet one) that opens a referencing modal.

The modal contains a sortable table with brief information about the question and every answer on the current page with a full-text case-insensitive search input below for filtering.

If one wants to reference a post not from another page or even another Stack Exchange site, they can simply paste a link to the post in the search modal, and the post will be added to the table.

Since v2.2.0 also works for inline editors added after the initial page load when entering edit mode.


The script is licensed under the GPL-3.0-or-later license.


Install | Minified


Version number means "last tested on":

Chrome Opera Firefox Edge IE
✔ 100.0.4896.127 - ✔ 99.0.1 - no


Author: Oleg Valter
Organization: UserScripters

Please, submit bug reports on the source repository.
Before adding a new one, please check if it hasn't been raised before.

You can also drop by to chat, we are a friendly bunch.


Source code written in TypeScript.


Contributions are welcome, you can always submit a PR here.



You must log in to answer this question.

Browse other questions tagged .