Commit Graph

11 Commits (3345fa5897377c5a5aebc7c637ca985894cde88a)

Author SHA1 Message Date
Brandon Mathis 73e540409c Support octopress-hooks and octopress-date-format
Joel Clermont 1a1c8681a4 Enable inline PHP syntax highlighting
Pygments has a "startinline" option which is only relevant for the PhpLexer. It allows syntax highlighting without the opening <?php tag. I believe this option is ignored for every other lexer.

Could you either set this to true by default using the proposed change? Or could this be exposed as a setting somewhere in _config.yml? I can't think of a reason someone would not want this enabled.
Shane Liesegang 35e23f59ca Update plugins/pygments_code.rb
Giving a more helpful error message instead of silently failing.
sjml 9293ecc174 Update plugins/pygments_code.rb
Making it so the build doesn't fail if a bad lexer is passed to the code highlighting.
Frederic Hemberger 2043c543d2 Add utf-8 encoding option to Pygments highlighter, fixes
Frederic Hemberger 347e855ddc Fixes HTML validation issues with code highlighting
Frederic Hemberger f6bf894387 Aligns naming of .pygments-cache, .gist-cache and .sass-cache
Brandon Mathis 358d02a4a7 centralized pygments aliases into pygments_code.rb. Added alias for .ru (ruby), which sort of fixes
Brandon Mathis ef4a42f977 Codeblock regex improved to better detect extensions fixes , added support for tableizing non highlighted code blocks from liquid codeblock tag and backtick code blocks
Brandon Mathis cb6442e624 fixed empty line stripping from codeblocks
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