Code Medium



Tổng quan
Extends the Medium and Substack writer interfaces to quickly create and edit Github Gists, without having to leave the editor.
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). Substack specific: - Fix gist embedding by preventing the fake "hidden unicode warning" messages. 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.
4,6/522 lượt xếp hạng
Chi tiết
- Phiên bản0.7.0
- Đã cập nhật18 tháng 3, 2025
- Kích thước811KiB
- Ngôn ngữEnglish
- Nhà phát triểnTrang web
Email
mh025r0x@gmail.com - Người bán phi thương mạiNhà phát triển này không tự nhận mình là người bán. Đối với người tiêu dùng ở Liên minh Châu Âu, xin lưu ý rằng các quyền của người tiêu dùng không được áp dụng trong hợp đồng giữa bạn và nhà phát triển này.
Quyền riêng tư
Nhà phát triển này tuyên bố rằng dữ liệu của bạn
- Không được bán cho bên thứ ba, ngoài những trường hợp sử dụng đã được phê duyệt
- Không được sử dụng hoặc chuyển nhượng cho các mục đích không liên quan đến chức năng chính của mặt hàng
- Không được sử dụng hoặc chuyển nhượng để xác định khả năng thanh toán nợ hoặc phục vụ mục đích cho vay
Hỗ trợ
Nếu bạn có câu hỏi, ý kiến đề xuất hoặc gặp vấn đề, vui lòng mở trang này bằng trình duyệt dành cho máy tính để được trợ giúp