Commit Graph

131 Commits

Author SHA1 Message Date
Frederic Hemberger
2dedad6176 Merge branch 'master' of https://github.com/strand/octopress into strand/octopress 2011-10-16 13:19:42 +02:00
Frederic Hemberger
1772a8af8f Removes also leading tab from backtick codeblock 2011-10-16 12:02:14 +02:00
B Strand
d983e3eb31 Reverted previous commit to separate that change to a different pull request. 2011-10-13 11:30:25 -07:00
B Strand
f6fb11a375 Added class='citation' to blockquotes generated by the blockquote plugin to differentiate their style from the style of an html or markdown blockquote. 2011-10-12 13:25:51 -07:00
B Strand
cae964e875 Updated pullquote.rb to use a vernacular similar to the image tag. 2011-10-12 11:14:07 -07:00
strand
8897083cf7 Implemented pullquoteleft functionality 2011-10-11 15:59:25 -07:00
Frederic Hemberger
9909f16d80 Codeblock: Output source even if 'pygments_prefix' or 'pygments_suffix' is nil. Fixes #182 2011-10-11 15:46:20 +02:00
Mikkel Hoegh
66916f57a7 First attempt at creating per-category Atom feeds. 2011-10-05 00:27:17 +02:00
Frederic Hemberger
6315527b2f Adds CDATA sections to atom.xml, fixes #198 2011-10-04 19:18:40 +02:00
Brandon Mathis
a35c780616 Merge pull request #180 from victor/patch-1
Allow capitalization after a period.
2011-09-28 13:35:42 -07:00
Brandon Mathis
3bd4ed026e Merge branch 'master' of github.com:imathis/octopress into compass 2011-09-28 14:51:24 -05:00
Victor Jalencas
f75f17b05c Allow capitalization after a period. 2011-09-28 10:08:55 +03:00
Frederic Hemberger
fdf6af1d25 Fixes img tag properties 2011-09-26 15:58:14 +02:00
Frederic Hemberger
19a646b5e9 Escapes double quotes in img tag 2011-09-26 11:55:43 +02:00
Frederic Hemberger
9bd572ffdc Adds jsFiddle plugin 2011-09-26 11:51:44 +02:00
Frederic Hemberger
50eaf98c24 Makes img tag more flexible, adds support for relative paths. Includes pull request #145, fixes #161 2011-09-26 11:00:35 +02:00
Frederic Hemberger
ab61a62d30 Removes compass_compiler.rb 2011-09-22 11:43:33 +02:00
Frederic Hemberger
3dbc379caa Updated regex to select less content on posts 2011-09-21 11:41:55 +02:00
Frederic Hemberger
0b5215c0f5 Adds first 150 chars of content as meta description, if no page.description specified. Fixes #162 2011-09-21 10:08:38 +02:00
Frederic Hemberger
44e4a991cf Fixes styling of <figure> code header 2011-09-18 21:27:42 +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
a289c90909 improved backtick codeblock's handling of the raw option 2011-09-07 23:30:09 -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
b25db54f93 Merge branch 'post_filters' 2011-09-07 18:34:17 -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
Brandon Mathis
fd99f9f7cf Merge branch 'post_filters_plugin' of https://github.com/tedkulp/octopress into post_filters 2011-09-05 23:18:47 -05:00
Brandon Mathis
31b5388402 Downcased category urls 2011-09-05 08:07:08 -05:00
Chun-wei Kuo
7e976cbc60 Improved support for non Latin characters in category names. Fixes #128 2011-09-05 18:07:40 +08:00
Ted Kulp
5eea47c8d6 Added post_filters plugin
Plugins that extend PostFilter will get three
additional methods: pre_render, post_render and
post_write. These will be called when every page
or post is processed and allows for the plugin to
modify the post/page object directly to modify
the output beyond what can be done with just
markup.
2011-09-04 09:56:27 -04:00
Brandon Mathis
ed0c220523 Merge branch 'master' of https://github.com/fhemberger/octopress into fhemberger-master
Conflicts:
	plugins/category_generator.rb
2011-09-04 08:37:22 -05:00
fhemberger
80f8a609f6 Improved support for non Latin characters in category names. Fixes #128 2011-09-04 12:56:54 +02:00
Brandon Mathis
17301879cd reverted back to \W in category_generator. Tracking on #128 2011-09-03 09:18:43 -05:00
Brandon Mathis
4f9c45f24a Improved support for non Latin characters in category names. Fixes #128 2011-09-03 08:15:01 -05:00
masukomi
e20e68139c sitemap_generator dies if public dir doesn't exist yet
this tests for the presence of the public dir and creates
it if needed. This situation can arise in a new install.
2011-08-25 12:35:06 -04:00
Brandon Mathis
11c6e1f7a7 include_code now defaults to relative urls for easy testing on a development server 2011-08-21 16:16:03 -04:00
Brandon Mathis
089af26b02 improved lang:language for codeblock and include code. It no longer strips out surrounding whitespace. 2011-08-21 10:31:58 -04:00
Brandon Mathis
83d87f98cc added option to force syntax highlighting language, example: {% include_code file lang:ruby %}. Fixes #108 2011-08-20 20:25:07 -04: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
596ec87c37 now only excerpted articles show the "read on" link. Also the text for that link can be set in the _config.yml 2011-08-20 16:02:50 -04:00
Brandon Mathis
cf31601d4b reordered arguments in pagination 2011-08-18 14:30:59 -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
1c555116be Added support for pagination with a blog index in any directory (helps with landing pages). Added configuration for pagination directory base 2011-08-16 00:43:22 -04:00
Brandon Mathis
a5f87149fe expand_urls now correctly matches urls pointing to the root directory, allowing / to be replaced with /subdir/ if site is configured with a different root directory 2011-08-16 00:43:07 -04:00
Brigham Brown
648d4cc238 Fix extra subdirectories appearing in category links and atom.xml link. 2011-08-11 21:30:45 -07:00
Brandon Mathis
7b52fb492e added yml alias for yaml code highlighting 2011-08-01 17:35:44 -04:00
Brandon Mathis
08dc63a95e added a raw option to render_partial. Now you can import partials without having them parsed by the Liquid template parser 2011-08-01 16:28:30 -04:00
Brandon Mathis
6009daa8a2 code_block and inlcude_code no longer needlessly render through the Liquid template parser 2011-08-01 16:28:07 -04:00
Brandon Mathis
ff1dba19f2 Backtick codeblocks now correctly replace &amp; with & and Textile support for back tick code blocks has been removed. It never really worked. Textile makes me sad. 2011-08-01 09:06:55 -04:00
Brandon Mathis
141800087f Merge branch 'woodwardjd-master' 2011-07-30 12:05:34 -04:00
Brandon Mathis
cb6442e624 fixed empty line stripping from codeblocks 2011-07-30 09:06:56 -04:00
Brandon Mathis
ffc730fc0d Merge branch 'master' of https://github.com/woodwardjd/octopress into woodwardjd-master 2011-07-29 20:50:35 -04:00
Brandon Mathis
c837acd497 added support for width and height to image tag plugin 2011-07-29 18:29:53 -04:00
Brandon Mathis
20de112526 include_code is now more forgiving, stripping leading forward slashes from the code_dir config 2011-07-29 10:49:54 -04:00
Brandon Mathis
49a67785dc Add support using github backtick code blocks without supplying a language 2011-07-28 15:59:50 -04:00
Brandon Mathis
a516c773d1 improved replacement filters for textile markup on github backtick codeblocks, added comment to show regular HTML support 2011-07-28 15:21:46 -04:00
Brandon Mathis
7209aaf64c updated Github style backtick filter to support textile, markdown and html 2011-07-28 14:44:48 -04:00
Jason Woodward
d8b17814e0 allow select and order of sidebar components to be configurable in jekyll's _config.yml 2011-07-28 12:02:08 -04:00
Andreas Arnold
2d8a17cd41 making textile and code blocks work nice together 2011-07-28 16:02:49 +02:00
Brandon Mathis
4a2254665c fixed bug where multiple github style codeblcoks were getting eaten 2011-07-27 18:34:58 -04:00
Brandon Mathis
d0f56ef1ca fixed bug in backtick_codeblock where indentations were being unintentionally removed 2011-07-26 23:56:14 -04:00
Brandon Mathis
6e2beaa969 added support for github style backtick code blocks 2011-07-26 23:37:31 -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
Brandon Mathis
20764e31ee updated syntax highlighting support for perl and objective c in code_block and include_code plugins 2011-07-25 20:35:24 -04:00
Brandon Mathis
d5aa08d3f3 added video tag plugin 2011-07-23 17:41:08 -04:00
Brandon Mathis
a80cb12c8c fixed typos and cleand up the image tag plugin 2011-07-23 17:41:03 -04:00
Brandon Mathis
fe074b2c1b removed some unnecessary steps from the category_generator plugin to avoid confusion 2011-07-23 01:18:02 -04:00
Brandon Mathis
da38dbe584 fixed misspelling of exerpt to excerpt for in the Octopress filters 2011-07-23 01:16:55 -04:00
Brandon Mathis
a2bc6f9762 1. Added image tag plugin
2. Removed figure tag plugin
3. Renamed custom_filters to octopress_filters
4. Added styles to support new image tag plugin
2011-07-23 00:26:00 -04:00
Brandon Mathis
8e489ac2da fixed error in pullquote plugin 2011-07-22 17:49:14 -04:00
Brandon Mathis
967eeb46e8 blockquote plugin now allows for source attribution with out a link, see docs 2011-07-22 11:48:45 -04:00
Brandon Mathis
ba0e5ef4a3 Render partial now automatically stirps out yaml front matter 2011-07-22 11:48:36 -04:00
Brandon Mathis
39d56bc988 Finally a nice solution for mapping relative urls 2011-07-22 00:00:18 -04:00
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
2011-07-21 16:14:23 -04:00
Brandon Mathis
0843c02f4e improved documentation on codeblock plugin 2011-07-20 12:13:27 -04:00
Brandon Mathis
c030550917 added optional title to include code tag 2011-07-20 11:03:10 -04:00
Brandon Mathis
ae51fe859e removed incorrect usage of gsub! which was returning nil if the substitution was not found. Now strips leading and trailing whitespace 2011-07-20 11:01:56 -04:00
Brandon Mathis
3587076aed updated gist_tag.rb to use <div>s to get around RDiscount's foolishness 2011-07-20 00:42:35 -04:00
Brandon Mathis
6f646e7290 added <div> wrappers to code blocks because rdiscount stupidly wraps <figure> tags with paragraphs. Grr. 2011-07-19 18:00:56 -04:00
Brandon Mathis
a71a709cb3 Fixed a bug where blockquotes broke without an author, also refactored a bit for reability 2011-07-19 16:32:57 -04:00
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. 2011-07-19 09:06:54 -04:00