Brandon Mathis
afca876bd4
Accepting all non-whitespace characters as language names for Pygments code highlighting
12 years ago
Brandon Mathis
3ab22cb820
Allowing dashes in code names. Closes #1166
12 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
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
13 years ago
Brandon Mathis
11c6e1f7a7
include_code now defaults to relative urls for easy testing on a development server
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
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
Brandon Mathis
20de112526
include_code is now more forgiving, stripping leading forward slashes from the code_dir config
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
44e1351fc7
1. Added condition to full_url filter to allow it to be used as a root_url 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
13 years ago
Brandon Mathis
c030550917
added optional title to include code tag
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
1fd21a6e25
Renamed include_file plugin to render_partial, added documentation to include_code and render_partial
13 years ago
Brandon Mathis
4dfc5c1d67
scoped titlebar styling to figcaptions under figures with role="code", added an example for overriding a style in sass/custom/styles.scss
13 years ago
Brandon Mathis
67c5edb2f6
added a space in code figcaption title to make it play nicer with RSS or other no CSS views
14 years ago
Brandon Mathis
ee7b9dd958
Changed _plugins folder to plugins and updated rake tasks accordingly
14 years ago
Brandon Mathis
ea349cdfbf
Moved themes to .themes to get it out of the way. Updated Rakefile to support .themes dir and remove duplication. Improved deploy task. Renamed init_deploy to cofig_deploy and rewrote it to update configurations in the Rakefile for easier deploy use
14 years ago
Brandon Mathis
ab29d45ae8
1. Added new include_code tag to allow auhtors to insert files from the file system with syntax highligting and a download link
2. Improved the gist tag to properly insert the sources in <noscript> tags
3. Improved semantics in the blockquote plugin and DRYed things up.
4. Pygments caching now stores to the _code_cache directory by default
5. Added a configuration for the default include_code directory
6. Updated the .gitignore
14 years ago