Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Code Medium

Code Medium by Maluen

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.

4 (4 reviews)4 (4 reviews)
34 Users34 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Add a new gistUpdate gistLogin with GitHub
About this extension
Features
--------

- Adds a button in the text toolbar for creating a new Gist and adding it to the post.
- Gists can be created as either public or secret (unlisted).
- Double click on an existing Gist to edit or delete it.
- Deleting a gist will remove both the embed from the post and the gist from your account.
To only remove the embed, just click on it and press the delete key as usual.
- Syntax highlighting for the most popular programming languages thanks to react-ace!
- Fixes the height of the Gists in the editor, to display them without being cut and without the extra padding (https://github.com/Maluen/code-medium/issues/3).

Authorizing the application
--------
This extension uses the GitHub Gist API to create and edit gists,
this means that you'll have to authorize the OAuth application for the "gist" permission.

Once the extension is installed, toggle the extension modal by clicking the toolbar button or by double clicking on an existing gist to
show the login button.

Known Limitations
--------

Gists composed of multiple files aren't fully supported:
- Currently, only single-file gists can be created.
- When double clicking on an existing multi-file gist, only the first file will show up in the modal.
However, you can still edit that file normally and delete the whole gist.
Rated 4 by 4 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
3
4
0
3
0
2
0
1
1
Read all 4 reviews
Permissions and dataLearn more

Required permissions:

  • Access your data for github.com
  • Access your data for gist.github.com
  • Access your data for medium.com
More information
Add-on Links
  • Homepage
  • Support site
Version
0.6.0
Size
797.48 kB
Last updated
a year ago (16 Apr 2024)
Related Categories
  • Feeds, News & Blogging
  • Web Development
Licence
Mozilla Public Licence 2.0
Version History
  • See all versions
Add to collection
Report this add-on
Release notes for 0.6.0
- #13 | Add Keyboard Shortcut to Create Gist
- #13 | Fix Firefox: requires commands.suggested_key in manifest to be an object
- #13 | Ignore shortcut when the Medium Editor toolbar is inactive
- #13 | Change suggested_key to Alt+Shift+0 to avoid triggering Zoom in Firefox
- #13 | Update Features in README.md
- #14 | Manifest V3
- Upgrade dev dependencies
More extensions by Maluen
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.