How to embed gist script in wordpress post?
-
Hi, I created a gist script in github, and want to embed it into a post. I tried the suggestions in this help page: http://en.support.wordpress.com/gist/
but it still either only shows the link, or shows the script window with all the text mashed to the side. I would really like some help, thanks! -
And what is the URL of the blog in question, starting with http? Because I’m 90% sure you’re in the wrong forum and need to be at WordPress.ORG.
-
-
No, but yes that is a WP.com blog. I’m confused as to why it didn’t show automatically in the footer of your first post as it should.
In WP.com blogs, javascript, iframes, raw flash, and many other kinds of code are stripped out. If you want to just display it AS CODE you should be able to do that using CODE tags, but you will not be able to execute it.
-
Yes I just want the code to be displayed, but instead of typing out the code and using the code tags, is there any way to get it to show up using the github link?
-
-
Ok. Thanks for the alternative help though. I found that if I went to the raw version of the git file, I could just copy and paste it to my post, even though the line numbers and syntax highlighting don’t show up.
- The topic ‘How to embed gist script in wordpress post?’ is closed to new replies.