Commit Graph

4 Commits

Author SHA1 Message Date
Brandon Mathis
a25787a204 Fixes for Redcarpet
- Removed unnecessary content filtering for escaping markdown
- Escaping codeblocks defaults to false and can be enabled by passing escape:true
- Backtick codeblocks are automatically escaped when using Textile
- Scoped styling of .highlight divs to figure elements
2013-01-03 11:36:51 -06:00
Brandon Mathis
ca470417e5 Markdown/Textile escape system is more flexible and strips goofy parsing glitches much better. Fixes #500 2012-05-21 20:16:06 -05:00
Brandon Mathis
3d2d1a8be4 1. Vastly improved backtick code blocks and added support for Textile
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
2011-09-07 18:34:21 -05:00
Brandon Mathis
9d2c76e189 Added {% raw %} liquid block, allowing for blocks of code which are not parsed by Liquid 2011-09-07 17:49:20 -05:00