Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to add Gist into Blogger

Tags:

html

gist

blogger

It's my first time to add a python script into by blog, after some Googling i found that i easiest way is to use Gist, i posted my python script into Gist, i choose a python language and create public Gist, the result "Embed this gist" was a javascript

<script src="https://gist.github.com/anonymous/7842985.js"></script>

now when i paste this code into my blog and click on preview or publish, nothing appear but the same java script ! any idea please .

like image 769
fooBar Avatar asked Dec 07 '13 14:12

fooBar


2 Answers

1.Sign in to blogger and create/edit a post

2.Click on "HTML" and not "compose" and then paste your script.The save without again clicking on compose.


(source: ctrlv.in)

like image 90
Rahul Shah Avatar answered Sep 18 '22 05:09

Rahul Shah


Just change to “Interpret typed HTML” under Post Options -> Compose Settings in blogger

like image 38
Anton Avatar answered Sep 20 '22 05:09

Anton