Categories

Developer

Maluen
Maluen

Code Medium v0.6.0

  • rating
  • rating
  • rating
  • rating
  • rating
4.00 (4 reviews)
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. Code Medium Code Medium Code Medium

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.