aboutsummaryrefslogtreecommitdiff
path: root/plugins/include_code.rb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 1. Vastly improved backtick code blocks and added support for TextileBrandon Mathis2011-09-071-2/+5
| | | | | | | | 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
* include_code now defaults to relative urls for easy testing on a development ↵Brandon Mathis2011-08-211-1/+1
| | | | server
* 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/+5
| | | | 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
* 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
* include_code is now more forgiving, stripping leading forward slashes from ↵Brandon Mathis2011-07-291-1/+1
| | | | the code_dir config
* added support for pygments.rb removing dependency on pygments, added support ↵Brandon Mathis2011-07-261-2/+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-2/+4
| | | | and include_code plugins
* 1. Added condition to full_url filter to allow it to be used as a root_url ↵Brandon Mathis2011-07-211-1/+8
| | | | | | 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
* added optional title to include code tagBrandon Mathis2011-07-201-3/+9
|
* added <div> wrappers to code blocks because rdiscount stupidly wraps ↵Brandon Mathis2011-07-191-2/+2
| | | | <figure> tags with paragraphs. Grr.
* Moved plugins to root directory. I'm ditching the idea of shipping plugins ↵Brandon Mathis2011-07-191-0/+55
with themes until it's more obviously necessary. This way it's easier to merge and update plugins.