This is a Sublime Text package which includes a bunch of handy snippets for doing Octopress framework development.
If you have the Package Control package installed, you can install Octopress framework Snippets from inside Sublime Text itself.
- Open the Command Palette or
(Ctrl + Shift) + P
- Select
"Package Control: Install Package"
- Then search for
Octopress Snippets
If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:
git clone https://github.com/SunDi3yansyah/octopress-snippets
If you find error or whatever just fork it and send me a pull request.
- HTML5 Video Tag - embeds mp4 encoded HTML5 videos
- Backtick Code Block - for simple lightweight code sharing
- Code Block - for sharing code with titles and links
- Include Code - embed code from your filesystem with a download link
- Gist Tag - automatically downloads and embeds Github gists
- Image Tag - easily post images with class names and titles
- Render Partial - insert any file into another post or page
- Block Quote - generate beautiful, semantic block quotes
- Pull Quote - generate CSS only pull quotes — no duplicate data, no javascript
- Category Generator - generates archive pages for each blog category
- Include Array - includes an array of partials specified in the _config.yml
- Puts - Logs from Liquid to the terminal (for theme and plugin developers)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.