From b351c926acadffa00a6cc9a914440a6a43a481c0 Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Wed, 20 Jul 2011 11:04:40 -0400 Subject: [PATCH] updated docs --- source/docs/blogging/code/index.markdown | 49 +++++++++++++++++++++++- source/docs/blogging/index.markdown | 2 + source/docs/configuring/index.markdown | 1 - source/docs/deploying/index.markdown | 1 - source/docs/setup/index.markdown | 1 - 5 files changed, 50 insertions(+), 4 deletions(-) diff --git a/source/docs/blogging/code/index.markdown b/source/docs/blogging/code/index.markdown index 2a405ee..ba86f3d 100644 --- a/source/docs/blogging/code/index.markdown +++ b/source/docs/blogging/code/index.markdown @@ -6,4 +6,51 @@ sidebar: false footer: false --- -Awesomeness! +Sharing code is important, and blogging about it should be easy and beautiful. +That's why Octopress is packed with features to make blogging your code a breeze. +Though Jekyll comes with support for [Pygments syntax highlighting](http://pygments.org), +Octopress makes it way better. Here's how. + +- A Sass port of [Solarized syntax highlighting](http://ethanschoonover.com/solarized) created specifically for Octopress +- Gist code embedding - by [Brandon Tilly](https://gist.github.com/1027674) +- Insert code snippets from your filesystem with a download link. +- Easy inline code blocks with `
` and `
` and optional download links. +- Pygments caching - a [Jekyll community plugin](https://github.com/rsim/blog.rayapps.com/blob/master/_plugins/pygments_cache_patch.rb) +- Table based line numbers added with javascript + +## Gist Code embedding +All you need is the gist's id and you can easily embed it in your page. This actually downloads a cache of the gist and embeds it in a `