Code Medium Code Medium

Extends the Medium writer interface to quickly create and edit Github Gists, without having to leave the editor.

Rating: 4.56 (18)
Users: 3,000+
Version: 0.5.2 (Last updated: 2020-03-10)
Size: 791.55K
Email:
Click to see
Permissions:
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.
Related extensions