aboutsummaryrefslogtreecommitdiff
path: root/plugins/code_block.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* improved lang:language for codeblock and include code. It no longer strips ↵Brandon Mathis2011-08-211-2/+2
| | | | out surrounding whitespace.
* added option to force syntax highlighting language, example: {% include_code ↵Brandon Mathis2011-08-201-1/+6
| | | | file lang:ruby %}. Fixes #108
* centralized pygments aliases into pygments_code.rb. Added alias for .ru ↵Brandon Mathis2011-08-201-3/+0
| | | | (ruby), which sort of fixes #108
* Codeblock regex improved to better detect extensions fixes #96, added ↵Brandon Mathis2011-08-161-2/+2
| | | | support for tableizing non highlighted code blocks from liquid codeblock tag and backtick code blocks
* added yml alias for yaml code highlightingBrandon Mathis2011-08-011-0/+1
|
* code_block and inlcude_code no longer needlessly render through the Liquid ↵Brandon Mathis2011-08-011-4/+0
| | | | template parser
* making textile and code blocks work nice togetherAndreas Arnold2011-07-281-0/+2
|
* added support for pygments.rb removing dependency on pygments, added support ↵Brandon Mathis2011-07-261-1/+4
| | | | for caching highlighted code from pygments.rb and added default line numbering. Javascript auto line numbering now only occurs for embedded gists
* updated syntax highlighting support for perl and objective c in code_block ↵Brandon Mathis2011-07-251-0/+2
| | | | and include_code plugins
* improved documentation on codeblock pluginBrandon Mathis2011-07-201-1/+9
|
* removed incorrect usage of gsub! which was returning nil if the substitution ↵Brandon Mathis2011-07-201-1/+1
| | | | was not found. Now strips leading and trailing whitespace
* added <div> wrappers to code blocks because rdiscount stupidly wraps ↵Brandon Mathis2011-07-191-5/+5
| | | | <figure> tags with paragraphs. Grr.
* Moved plugins to root directory. I'm ditching the idea of shipping plugins ↵Brandon Mathis2011-07-191-0/+80
with themes until it's more obviously necessary. This way it's easier to merge and update plugins.