16 Commits (d983e3eb31cc80406a28ab566f78e52b90c56e93)

Author SHA1 Message Date
Frederic Hemberger 9909f16d80 Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182 13 years ago
Frederic Hemberger 44e4a991cf Fixes styling of <figure> code header 13 years ago
Brandon Mathis 3d2d1a8be4 1. Vastly improved backtick code blocks and added support for Textile 13 years ago
Brandon Mathis 089af26b02 improved lang:language for codeblock and include code. It no longer strips out surrounding whitespace. 13 years ago
Brandon Mathis 83d87f98cc added option to force syntax highlighting language, example: {% include_code file lang:ruby %}. Fixes #108 13 years ago
Brandon Mathis 358d02a4a7 centralized pygments aliases into pygments_code.rb. Added alias for .ru (ruby), which sort of fixes #108 13 years ago
Brandon Mathis ef4a42f977 Codeblock regex improved to better detect extensions fixes #96, added support for tableizing non highlighted code blocks from liquid codeblock tag and backtick code blocks 13 years ago
Brandon Mathis 7b52fb492e added yml alias for yaml code highlighting 13 years ago
Brandon Mathis 6009daa8a2 code_block and inlcude_code no longer needlessly render through the Liquid template parser 13 years ago
Andreas Arnold 2d8a17cd41 making textile and code blocks work nice together 13 years ago
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 13 years ago
Brandon Mathis 20764e31ee updated syntax highlighting support for perl and objective c in code_block and include_code plugins 13 years ago
Brandon Mathis 0843c02f4e improved documentation on codeblock plugin 13 years ago
Brandon Mathis ae51fe859e removed incorrect usage of gsub! which was returning nil if the substitution was not found. Now strips leading and trailing whitespace 13 years ago
Brandon Mathis 6f646e7290 added <div> wrappers to code blocks because rdiscount stupidly wraps <figure> tags with paragraphs. Grr. 13 years ago
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. 13 years ago
Brandon Mathis e17bb6ebd5 Fixed typo in code_block plugin 13 years ago
Brandon Mathis fe8150d788 Added plugin for simple code block authoring 13 years ago