Parker Moore
4942b2947b
Only compile the Converter#matches regexp when asked for
2014-10-12 14:31:49 -07:00
Parker Moore
44c9f81921
Cache the extname regexp in Converters::Markdown and Textile
2014-10-12 14:06:16 -07:00
Alfred Xing
475e08bba3
Replace all RubyForge links with new residences
2014-07-16 13:43:09 -07:00
Parker Moore
c7cc36abdb
Put errors/exceptions into Jekyll::Errors module
2014-07-12 13:47:59 -07:00
Robin Dupret
92064134d6
Rename the pygments option to highlighter
...
Rename the pygments configuration option to highlighter to allow
different highlighters in the future. For now, the allowed values are
`pygments` and `null`.
It's now more straightforward to plug another syntax highlighter.
2013-12-22 12:45:15 +01:00
Tom Bell
663a1321d2
Update converter classes moving into a module
2013-01-19 23:07:38 +00:00
Thomas Laumann
d80c773b01
New solution for passing restrictions to RedCloth - all tests pass with ruby 1.8 (just invoking rake)
2011-11-28 14:05:34 +01:00
Thomas Laumann
ab3927499f
Forgot to remove debugging code :-/
2011-11-04 17:41:47 +01:00
Thomas Laumann
8c4edb655e
Have TextileConverter pass any arguments set to true in config's redcloth section to RedCloth constructor as an array of symbols.
...
This means explicitly setting (for example):
redcloth:
hard_breaks: false
lite_mode: true
no_span_caps: true
will cause RedCloth to be invoked thusly:
RedCloth.new(content, [:lite_mode, :no_span_caps])
(Notice that hard_breaks is ignored.) This means, however, anything set to true in the redcloth section in _config.yml _will_ be passed to RedCloth. Mayhem may ensue.
2011-11-04 17:33:53 +01:00
Carl Groner
69e7f4abef
Add test cases for default values with no explicit config. for `hard_breaks`.
2011-11-03 11:54:49 -07:00
Thomas Laumann
ed7f914459
removed unused code
2011-07-07 11:29:40 +02:00
Thomas Laumann
fccb6c7f74
Merge git://github.com/mojombo/jekyll
2011-06-29 12:07:21 +02:00
Derek Prior
5801220a98
Added the ability to configure the file extensions to be processed by each converter. Test cases included.
2011-04-12 17:03:28 -04:00
Thomas Laumann
3f889ef077
added test case to hard_breaks (disable/enable in _config.yml)
2011-03-23 18:17:14 +01:00
laumann
3468f0a2c3
expanded config yaml to allow setting hard_breaks=false on RedCloth, modified textile converter to take this option into account
2011-02-09 01:37:30 +01:00
Tom Preston-Werner
de8bd48154
Maruku is now the only processor dependency installed by default. Closes #57 .
...
Other processors will be lazy-loaded when necessary (and prompt the
user to install them when necessary).
2010-06-22 15:17:39 -07:00
Tom Preston-Werner
cb77a5287b
load plugins under safe mode
2010-06-18 17:55:17 -07:00
Kris Brown
fc86c9dd85
extended concept to extensions in general, providing both converters and generators
2010-02-28 10:10:10 +00:00
Kris Brown
84b26a31da
removed use of content_type strings in the highlighting tag
2010-02-28 00:11:43 +00:00
Kris Brown
315f4c9222
allow converters to be registered through subclassing much like railties in rails
2010-02-27 23:31:54 +00:00
Kris Brown
cedda3afa3
move converters to classes
2010-02-27 22:14:27 +00:00