Commit Graph

131 Commits

Author SHA1 Message Date
Brandon Mathis
64bb9a346b Merge pull request #1141 from joelclermont/patch-1
Enable inline PHP syntax highlighting
2013-07-09 08:16:15 -07:00
Marcus Young
3cac6b9a16 The gist hashes have changed. They include letters now 2013-06-15 12:58:52 -04:00
Michael Buffington
a2ee7a0af1 Revised the regex for JsFiddle plugin after further testing. 2013-06-11 16:00:14 -07:00
Michael Buffington
46be4c8fc4 Adjusted JsFiddle plugin to detect jsFiddle versions.
Prior to this change, {% jsFiddle ccWP7/5 result,js,html %} wouldn't
render the desired tab order properly since the regex pattern was
being capturing the /5 as part of the first of the tabs.
2013-06-11 15:37:15 -07:00
Brandon Mathis
afca876bd4 Accepting all non-whitespace characters as language names for Pygments code highlighting 2013-04-09 09:23:31 -05:00
Brandon Mathis
3ab22cb820 Allowing dashes in code names. Closes #1166 2013-04-09 09:17:46 -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
Brandon Mathis
05db158fec Improved: config_tag plugin is much more flexible now and can be used by other plugins directly through the config_tag method 2013-03-11 01:19:59 -05:00
Brandon Mathis
2bec7f858a added config_tag plugin for integration of configuration into templates 2013-03-10 17:09:12 -05:00
Parker Moore
392e32bef0 Merge pull request #990 from sjml/patch-1
Generate can fail if Pygments can't parse a code block
2013-03-05 16:03:33 -08:00
Parker Moore
e2596c02cb Merge pull request #629 from vyper/master
Added stringex and changed to use #to_url for create directory.
2013-03-05 14:58:55 -08:00
Parker Moore
de8e79f348 Using data.code.to_i like a true Rubyist in plugins/gist_code.rb. Heh. #438 2013-03-05 23:42:59 +01:00
Parker Moore
51905b6a90 Merge pull request #438 from roman-yepishev/gist_error
Raise RuntimeError when gist is unavailable - #437
2013-03-05 14:37:08 -08:00
Leonardo Saraiva
2fe9da91f5 Merge branch 'master' of github.com:imathis/octopress
Conflicts:
	plugins/category_generator.rb
2013-02-24 20:51:31 -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
Brandon Mathis
8bf09b178d Video tag plugin now supports mp4,ogv,webm formats, closes #931 2013-01-12 19:24:10 -06:00
Brandon Mathis
cd6926e41b Striped whitespace from titles in blockquote plugin 2013-01-12 16:38:25 -06:00
Sean Kerr
d686105bda Fixed blockquote plugin (author alone would not show up without title) 2013-01-12 16:38:19 -06:00
Brandon Mathis
d774630d3e Improved error message for category_generator plugin. Addresses #116 2013-01-12 16:21:22 -06:00
richo
5b332f5c95 Whitespace 2013-01-11 23:10:08 +11:00
Brandon Mathis
ce7f6e92a2 Merge pull request #408 from dtchepak/category_link_filter
Extract category_link filter from category_generator.rb plugin
2012-12-29 00:05:37 -08:00
Brandon Mathis
55fa9b3d8e Removed unnecessary regex in code block plugin 2012-12-26 17:33:48 -06:00
Brandon Mathis
c18de55875 Titles in code plugins can have slashes in them. Closes #892 2012-12-26 17:19:50 -06:00
Brandon Mathis
c9f820f3ef Merge pull request #824 from liangsun/patch-1
To support url without domain name like /path/file
2012-12-19 21:56:03 -08:00
Brandon Mathis
72b4e8d562 gist tag plugin now works with the latest changes GitHub gists and does not fail if you do not specify a filename. 2012-12-18 11:38:37 -06:00
Liang Sun
0ccd0679fd To support url without domain name like /path/file
You need to know if you would like to support this, each word in the title can not start with "/".
2012-11-27 10:18:12 +08:00
Ivo Wever
6029981e35 Fix for issue #622
The filters bundled with Octopress are not applied to files ending in 
`.md`, because the match in octopress_filters.rb does not match `.md`.
2012-08-09 23:34:41 +03:00
Leonardo Saraiva
d102dcda68 Added stringex and changed to use #to_url for create directory. To don't receive error in url to accented characters. 2012-06-19 01:05:15 -03:00
Brandon Mathis
e53b26ad30 updated plugins to work with latest version of Liquid 2012-05-24 10:28:32 -05:00
Brandon Mathis
8753a6b00c Octopress filters are now limited to html producing templating languages, Fixes #536 2012-05-21 16:06:52 -05:00
Roman Yepishev
7ebc0a0d8b Convert to integer before comparing. data.code is String 2012-02-21 11:07:45 +02:00
Roman Yepishev
ef8392e267 Raise RuntimeError when gist is unavailable 2012-02-20 23:45:07 +02:00
David Tchepak
02dac280d0 Extract category_link filter from category_generator.rb plugin
Allows category_link to be used as a filter to display a link to
any category.
2012-02-02 23:06:47 +11:00
Brandon Mathis
4e0fec0e0f Added a space between author and site to be sure it looked good in feed readers and places where the site CSS wasn't being loaded 2011-12-11 16:24:46 -06:00
Brandon Mathis
d5a02a78f6 Added RubyPants (the ruby port of John Gruber's smarty pants) to intelligently replace primes with smart quotes in the pullquote plugin, fixes #316 2011-12-11 16:24:39 -06:00
Frederic Hemberger
cb61146264 Merge pull request #295 from jbrains/master
Capitalize word after '!' and '?'.
2011-12-10 03:24:16 -08:00
Frederic Hemberger
6714e5c7f5 Set flag in preview mode and re-generate files before deployment if necessary 2011-11-29 15:13:50 +01:00
J. B. Rainsberger
343e0f1409 Improved, I think, the Titlecase plugin 2011-11-28 00:25:50 +01:00
Frederic Hemberger
f1ebf35869 Introduce distinction between preview/productive site generation
Posts which contain the YAML attribute `published: false` are usually
not generated by Jekyll. With this patch they can be previewed just
like published posts on localhost using `rake watch`or `rake preview`.

NOTICE: Before pushing to the productive environment, use `rake generate`
to update the public directory and remove posts which are flagged not to be
published.
2011-11-23 14:37:30 +01:00
Frederic Hemberger
4feeecfdef Date format: Remove unnecessary escapement 2011-11-04 08:40:41 +01:00
Frederic Hemberger
142681489f Add custom date format %o for ordinal representation of the day 2011-11-04 08:11:16 +01:00
Frederic Hemberger
987dccee76 Add custom date format to pages, add 'updated' field again
Reverts changes of c2a68cc where I accidentally removed support for 'updated' field, see comments of issue #164 for details.
2011-11-03 20:32:38 +01:00
Frederic Hemberger
a81ef5e28b Improve handling of meta description 2011-10-21 15:00:32 +02:00
Frederic Hemberger
2043c543d2 Add utf-8 encoding option to Pygments highlighter, fixes #232 2011-10-21 09:23:56 +02:00
Frederic Hemberger
d2755dc082 Merge branch 'master' of github.com:imathis/octopress 2011-10-18 17:46:36 +02:00
Frederic Hemberger
c2a68cc2a9 Make post's date output configurable via _config.yml, closes #164
A new config variable 'date_format' is introduced in _config.yml.
It can either be set to "ordinal" to use the current format or it
can be given a string complying to strftime() format identifiers.
2011-10-18 17:25:31 +02:00
mattn
92f57ad15b support proxy. 2011-10-18 17:36:45 +09:00
Frederic Hemberger
d84daa2a88 Merge pull request #201 from mikl/category-feeds
Adds per-category Atom feeds.
2011-10-16 04:58:14 -07:00
Frederic Hemberger
21803814bc Adds parameter for left aligned pullquotes, fixes #215 2011-10-16 13:37:06 +02:00