Peter Suschlik
b1a2115948
Fix spelling of GitHub in docs and history
...
* Github -> GitHub
* GitHub pages -> GitHub Pages
2016-01-06 17:21:09 +01:00
Pat Hawks
f6fd9014ba
Rubocop: Style/CaseIndentation
...
- Indent when as deep as case
2016-01-04 11:15:37 -08:00
Pat Hawks
e3189e3828
Rubocop: Lint/UnusedMethodArgument
2016-01-03 17:07:39 -08:00
Pat Hawks
704ca6b8cc
Rubocop: Style/NegatedIf
...
- Favor unless over if for negative conditions
2016-01-03 15:59:12 -08:00
Pat Hawks
98a19cdf2b
Rubocop: Style/PercentLiteralDelimiters
...
- %w-literals should be delimited by ( and )
Rubocop: Style/WordArray
- Use %w or %W for array of words
2016-01-03 15:32:11 -08:00
Parker Moore
8e887dcd8b
markdown: minor style fixes
...
ref: #3771
2015-12-27 08:24:00 -05:00
Jordon Bedwell
a58f23aeaf
Add support for underscores.
2015-06-10 15:05:17 -05:00
Jordon Bedwell
34438ed325
Refactor: lib/jekyll/convertor/markdown.rb - tests: no additions/breaks.
...
Reason: #3770
2015-06-10 15:04:25 -05:00
Alfred Xing
ae039663b9
Remove Maruku and references to it
2015-04-14 10:58:47 -07:00
Parker Moore
ef2d558874
Markdown#matches should avoid regexp
2015-01-17 16:25:10 -08:00
Brandon Bradley
e546eb3e9f
force markdown regexp to match the full extension
2014-11-24 20:08:31 -06:00
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
Parker Moore
c7cc36abdb
Put errors/exceptions into Jekyll::Errors module
2014-07-12 13:47:59 -07:00
Matt Rogers
012387396a
Merge pull request #1859 from robin850/rouge
2013-12-30 22:45:07 -06:00
Parker Moore
ab95cca434
Add TomDoc for Jekyll::Converters::Markdown#allowed_custom_class?
2013-12-26 00:33:34 -05:00
Parker Moore
7b9984699c
Fix error in exception message in Markdown Converter [ci skip]
2013-12-26 00:14:24 -05:00
Parker Moore
60b43104ee
Extract checks for acceptable custom markdown processors to method.
...
We should probably write more about what it does and how it works in a TomDoc block above.
@envygeeks, want to give that a shot?
2013-12-26 00:02:56 -05:00
Jordon Bedwell
a206dc1a8f
Use downcase.
2013-12-25 23:55:20 -05:00
Garen Torikian
31bebf0f9e
Depend on Jekyll.logger.error, not $stderr
2013-12-25 19:36:49 -06:00
Jordon
c759a7a75f
Allow custom Markdown processors.
2013-12-25 19:36:25 -06:00
Jordon
626d54a812
New is implied by `raise`, 2nd is the message.
2013-12-25 19:36:25 -06:00
Jordon
4d017b4fed
Use $stderr, not STDERR, $stderr points to STDERR.
2013-12-25 19:36:25 -06: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
Thomas Torsney-Weir
627916bc54
force markdown match to match the full extension
2013-08-06 10:56:24 +02:00
Parker Moore
a971fec801
rescue block for the method and added redcarpet as option for parser
2013-04-13 02:13:50 +02:00
Parker Moore
3bc497c1c9
Moved out conversion logic
2013-04-13 01:55:03 +02:00
Parker Moore
63cdd21353
Move initialization of parsers to separate classes
2013-04-13 01:47:40 +02:00
Dave Wasmer
f7f64576e5
Force encoding of the rdiscount TOC to UTF8 to avoid conversion errors
2013-03-17 22:28:52 +01:00
Tom Bell
663a1321d2
Update converter classes moving into a module
2013-01-19 23:07:38 +00:00
Tom Bell
38ac55381b
Only pass first class to Pygments
...
This prevents an exception if something like the following is used:
~~~ {foo bar}
some code
~~~
2012-11-13 07:59:36 +00:00
Tom Bell
7f706f47fc
Update redcarpet support to version 2
2012-08-13 15:03:33 +01:00
Tom Preston-Werner
8a0fbf02f5
Cleanup for RDiscount TOC support. Closes #333 .
2012-04-23 16:15:55 -07:00
Michishige Kaito
f5b2acf8cd
Added support for inline TOCs with RDiscount
2012-04-23 15:56:28 -07:00
Tom Preston-Werner
e29490c1c6
Allow setting of Kramdown smart_quotes. Fixes #482 .
2012-04-23 15:34:54 -07:00
Tom Preston-Werner
da9930657e
Merge remote-tracking branch 'derekprior/configurable_coverter_file_extensions'
2011-05-30 11:38:59 -07:00
MattHall
cf779b2760
Added Redcarpet for MD conversion
2011-04-20 10:04:42 +01: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
Tom Preston-Werner
61acd47ed2
Merge remote branch 'jasongraham/kramdown-support'
2010-11-22 19:26:58 -08:00
Jason Graham
dca30c3ad1
Add kramdown's support for coderay
...
- no test added so that coderay isn't added to list of developer
dependencies
2010-11-20 17:46:16 -08:00
Jason Graham
f85e229a9e
Add support for kramdown HTML converter options
...
http://kramdown.rubyforge.org/converter/html.html#options
Example: In the _config.yaml,
markdown: kramdown
kramdown:
auto_ids: true
2010-11-20 17:40:27 -08:00
Jason Graham
ac7a0cc95f
Add Kramdown support and tests
2010-11-20 17:40:27 -08:00
Christos Trochalakis
a56eeb8289
Add support for rdiscount extensions
...
Specify extensions at your _config.yml file:
...
rdiscount:
extensions: [smart, autolink]
Available extensions can be found here:
http://rdoc.info/projects/rtomayko/rdiscount
closes #173
2010-06-25 16:38:45 +03:00
Tom Preston-Werner
6a605753c1
Need double quotes for newline character. Fixes #178 .
2010-06-23 15:50:22 -07: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