How to add code to blogger

Step 1: Store your code in gist.github.com . Step 2: Add it to the blogger in the following format. <div><script src="http://example.com/script.js"></script></div> Example: After adding the above text, switchback, and publish. The page will look like below.