Code Medium
Extends the Medium writer interface to quickly create and edit Github Gists, without having to leave the editor. Adds a button in the text toolbar for creating a new Gist and adding it to the post. Double click on an existing Gist to edit it.
Additional files are visible only to premium users
manifest.json
{
"manifest_version": 2,
"applications": {
"gecko": {
"id": "{22b7825c-a56f-4978-a9db-aa31bc6152fb}",
"strict_min_version": "50.0"
}
},
"name": "Code Medium",
"version": "0.6.0",
"description": "Extends the Medium writer interface to quickly create and edit Github Gists, without having to leave the editor.",
"icons": {
"48": "assets/icon.png",
"128": "assets/icon.png"
},
"author": "Manuel Dell'Elce",
"short_name": "code-medium",
"background": {
"page": "background/background.html"
},
"browser_action": {
"default_icon": {
"19": "assets/icon.png",
"38": "assets/icon.png"
}
},
"content_scripts": [
{
"matches": [
"https://medium.com/**"
],
"js": [
"content/content.js"
],
"css": [
"content/content.css"
],
"run_at": "document_idle"
},
{
"matches": [
"https://medium.com/media/*"
],
"js": [
"content/content_iframe.js"
],
"all_frames": true,
"run_at": "document_idle"
}
],
"web_accessible_resources": [
"app/*.*"
],
"commands": {
"medium-create-gist": {
"suggested_key": {
"default": "Alt+Shift+0"
},
"description": "Create a Gist in the Medium Editor"
}
},
"permissions": [
"identity",
"storage",
"https://github.com/*",
"https://gist.github.com/*"
]
}