Brandon Mathis
73e540409c
Support octopress-hooks and octopress-date-format #1622
2014-08-12 10:56:45 -05:00
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.
2013-03-22 22:57:55 -03:00
Shane Liesegang
35e23f59ca
Update plugins/pygments_code.rb
...
Giving a more helpful error message instead of silently failing.
2013-01-30 21:51:26 -05:00
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.
2013-01-30 01:53:04 -05:00
Frederic Hemberger
2043c543d2
Add utf-8 encoding option to Pygments highlighter, fixes #232
2011-10-21 09:23:56 +02:00
Frederic Hemberger
347e855ddc
Fixes HTML validation issues with code highlighting
2011-09-18 13:55:35 +02:00
Frederic Hemberger
f6bf894387
Aligns naming of .pygments-cache, .gist-cache and .sass-cache
2011-09-18 13:45:25 +02:00
Brandon Mathis
358d02a4a7
centralized pygments aliases into pygments_code.rb. Added alias for .ru (ruby), which sort of fixes #108
2011-08-20 18:39:47 -04:00
Brandon Mathis
ef4a42f977
Codeblock regex improved to better detect extensions fixes #96 , added support for tableizing non highlighted code blocks from liquid codeblock tag and backtick code blocks
2011-08-16 02:41:28 -04:00
Brandon Mathis
cb6442e624
fixed empty line stripping from codeblocks
2011-07-30 09:06:56 -04:00
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
2011-07-26 23:36:42 -04:00