- Browse to https://gist.github.com/
- Add a Gist Description (optional)
- Add a filename with an extension (extension will be used to add syntax highlighting)
- Add your code snippet which need to be added to your blog post
- Click “Create Public Gist” button at the botton
- Click on the “embed” link and copy the script generated
- Paste the script where you need to add the code snippet
- Make sure to select the option “Interpret typed HTML” under Post Options -> Compose Settings
Home
»
add code into blogger
»
Blogger Tricks
»
highlight code or syntax
» Posting code snippets to Blogger easly
Subscribe to:
Post Comments (Atom)
Post a Comment