jtsternberg / Code-Snippets-CPT

A WordPress plugin for managing and displaying code snippets
http://dsgnwrks.pro
19 stars 17 forks source link

Feature Request: iframe and JS embeds #8

Open jaredatch opened 9 years ago

jaredatch commented 9 years ago

Great work.

I'm a big user of gist. To me, the biggest features needed in order to ditch gist are the ability to embed code snippets off site via iframes and JS embeds.

If memory serves correct I think Capsule (https://github.com/crowdfavorite/wp-capsule/) had the js embed feature figured out.

I think it would be cool to have some sort of API to do this. /raw, /js, /iframe or something of that nature.

Anyways, just a few ideas. Keep up the great work. Once a few more features are added I'd definitely try to ditch gist for this :)

jtsternberg commented 8 years ago

I love this idea. I'm curious if the oembed stuff they added to WP core could be modified for snippets. That would be pretty sweet to have built-in oembed support!

jtsternberg commented 8 years ago

Some notes from @JustinSainton and I brainstorming:

ramiabraham commented 8 years ago

I love this idea.

Some thoughts: