Commit Graph

13 Commits

Author SHA1 Message Date
Brandon Mathis
3ea1e4edab include_code now defaults to relative urls for easy testing on a development server 2011-08-21 16:15:46 -04:00
Brandon Mathis
6db1a5ada5 improved lang:language for codeblock and include code. It no longer strips out surrounding whitespace. 2011-08-21 10:31:14 -04:00
Brandon Mathis
cbd6f8d8de added option to force syntax highlighting language, example: {% include_code file lang:ruby %}. Fixes #108 2011-08-20 20:24:51 -04:00
Brandon Mathis
6b586af8a5 centralized pygments aliases into pygments_code.rb. Added alias for .ru (ruby), which sort of fixes #108 2011-08-20 18:39:00 -04:00
Brandon Mathis
8e978596b6 added yml alias for yaml code highlighting 2011-08-01 17:35:33 -04:00
Brandon Mathis
70d2c83843 code_block and inlcude_code no longer needlessly render through the Liquid template parser 2011-08-01 16:23:17 -04:00
Brandon Mathis
4ece188eba include_code is now more forgiving, stripping leading forward slashes from the code_dir config 2011-07-29 10:49:37 -04:00
Brandon Mathis
7b81aab5ac added support for pygments.rb removing dependency on pygments, added support for caching highlighted code from pygments.rb and added default line numbering. Javascript auto line numbering now only occurs for embedded gists 2011-07-26 23:36:42 -04:00
Brandon Mathis
20764e31ee updated syntax highlighting support for perl and objective c in code_block and include_code plugins 2011-07-25 20:35:24 -04:00
Brandon Mathis
44e1351fc7 1. Added condition to full_url filter to allow it to be used as a root_url appending filter for remapping root "/" urls when octopress is deployed to a subdirectory. Updated _includes/article and _layouts/page to use the filter
2. Added documentation for the include_code plugin
2011-07-21 16:14:23 -04:00
Brandon Mathis
c030550917 added optional title to include code tag 2011-07-20 11:03:10 -04:00
Brandon Mathis
6f646e7290 added <div> wrappers to code blocks because rdiscount stupidly wraps <figure> tags with paragraphs. Grr. 2011-07-19 18:00:56 -04:00
Brandon Mathis
17c59fb1d1 Moved plugins to root directory. I'm ditching the idea of shipping plugins with themes until it's more obviously necessary. This way it's easier to merge and update plugins. 2011-07-19 09:06:54 -04:00