Update:
This script was previously called "Insert APT Link" but has now been renamed. As such, you need to uninstall any previous versions before installing the new one.
Screenshot / Code Snippet
About
This UserScript adds some buttons to the editing toolbar that allow the following to easily be inserted:
Package installation button:
Package installation text and icon:
Manpage link:
Link to PPA archive:
ppa:george-edison55/george-edison (Click here for instructions on using PPAs.)
Link to Launchpad project:
This UserScript is fully compatible with inline editing and the toolbar buttons should show up anywhere there is a WMD editor.
License
MIT License
Download
You can install the script by clicking the link below:
https://files.quickmediasolutions.com/userscripts/au_toolbar.user.js
Platform
Tested on Firefox 11 (and reported to work on Chrome too).
Contact
I can be reached at [email protected]
Code
Written in JavaScript using jQuery.
livequery.js
in there. Would you mind leaving me a comment under our meta post whether this is OK or what I should change? Thanks.StackExchange.MarkdownEditor.refreshAllPreviews()
because they are documented nowhere. That's why I'm so glad you did the hard work and I only had to use it.