# Features for code sharing

**URL:** <https://meta.discourse.org/t/features-for-code-sharing/13148>\
**Category:** Feature\
**Created:** [February 27, 2014, 4:14pm UTC](https://meta.discourse.org/t/features-for-code-sharing/13148 "2014-02-27T16:14:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [February 27, 2014, 6:07pm UTC](https://meta.discourse.org/t/features-for-code-sharing/13148/3 "2014-02-27T18:07:05Z")

</div>

You can edit the `authorized_extensions` admin setting to allow upload of `.zip`s:

 ![](https://global.discourse-cdn.com/meta/original/2X/3/3c3d2df5199276e689b7b5737452a7c7061c7d48.png) 

On this site, the admin has enabled uploading of `.pdf` files and files with no extension by adding `|.pdf|` on the end.

However, I suggest using Gist if you need to quickly share multiple code files without assets like images.

All of the GitHub `/user/repo/blob/...` URLs onebox nicely in Discourse, so you can use that too.

---

_[View the full topic](https://meta.discourse.org/t/features-for-code-sharing/13148)._
