
Have you ever wanted to display code or script in your blog? Here's how to using PasteBin. Guests are able to download your code also which is useful if it's script or something like that.
Go to Pastebin.com.
Select "create new paste".
Paste or type in your code.
Give it a title, make sure it's public, and choose your syntax. Optional: Set an expiration date.
Click "submit".
Click "embed".
Copy the Javascript embed code. Example:
<script...