aboutsummaryrefslogtreecommitdiff
path: root/plugins/code_block.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed unnecessary regex in code block pluginBrandon Mathis2012-12-261-5/+1
|
* Titles in code plugins can have slashes in them. Closes #892Brandon Mathis2012-12-261-4/+4
|
* updated plugins to work with latest version of LiquidBrandon Mathis2012-05-241-1/+1
|
* Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is ↵Frederic Hemberger2011-10-111-0/+1
| | | | nil. Fixes #182
* Fixes styling of <figure> code headerFrederic Hemberger2011-09-181-3/+3
|
* 1. Vastly improved backtick code blocks and added support for TextileBrandon Mathis2011-09-071-4/+7
| | | | | | | | 2. Refactored Octopress filters into Liquid filters and pre/post render filters (using post_filters plugin) 3. Added methods to raw plugin to prevent Markdown and Textile from parsing blocks 4. Updated render partial to invoke the pre_render method of post_filters 5. Moved Rubypants filter out of default.html into Octopress post_render filters 6. Added raw's safe_wrapper method to codeblock and include_code filters
* 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.