Commit Graph

177 Commits

Author SHA1 Message Date
Ashwin Maroli c0e5541468
Configure default language for syntax-highlighting (#8035)
Merge pull request 8035
2020-04-30 13:52:55 -04:00
Ashwin Maroli 237d08a76c
Optimize `Kramdown::JekyllDocument#to_html` calls (#8041)
Merge pull request 8041
2020-03-26 10:11:33 -04:00
Ashwin Maroli 3d045d277e
Optimize markdown parsing with Kramdown by reusing the options and parser objects (#8013)
Merge pull request 8013
2020-02-26 11:36:19 -05:00
Grzegorz Kaczorek 42c48b4f34 Better documentation for Jekyll::Converters::Identity (#7883)
Merge pull request 7883
2019-10-30 12:01:27 -04:00
Ashwin Maroli 3e8e6d22d7 Remove patch to modify config for kramdown (#7699)
Merge pull request 7699
2019-06-28 06:38:02 -04:00
Ashwin Maroli 18f7a28168 Cleanup Markdown converter (#7519)
Merge pull request 7519
2019-03-15 13:30:39 -04:00
Ashwin Maroli 575f4b66de Upgrade kramdown dependency to v2.x (#7492)
Merge pull request 7492
2019-03-15 13:27:41 -04:00
Ashwin Maroli 8ccb013f85 Use communicative method parameters (#7566)
Merge pull request 7566
2019-03-15 12:54:24 -04:00
Pat Hawks 18d33b1fd6 Cache converted markdown (#7159)
Merge pull request 7159
2018-10-02 04:07:08 -04:00
Grzegorz Kaczorek 55dd39d580 Document converter methods (#7289)
Merge pull request 7289
2018-10-01 14:37:15 -04:00
jekyllbot a28f54a59f
Bump Rubocop to v0.59.0 (#7237)
Merge pull request 7237
2018-09-09 18:14:46 -04:00
Frank Taillandier 6c771608e5 Update Rubocop's config (#7050)
Merge pull request 7050
2018-06-02 06:50:32 -04:00
Ana María Martínez Gómez bc84603017 Useless privates removed (#6768)
Merge pull request 6768
2018-05-19 15:49:54 -04:00
jekyllbot 149d5de59a
Remove support for rdiscount (#6988)
Merge pull request 6988
2018-05-09 09:44:36 -04:00
Nikita Skalkin e0758ba550 Remove support for Redcarpet (#6987)
Merge pull request 6987
2018-05-06 10:18:02 -04:00
Ashwin Maroli f8dfbd2f7b Drop support for older versions of Rouge (#6978)
Merge pull request 6978
2018-05-03 10:03:55 -04:00
ashmaroli 36fbcaa863 Optimize loading library into memory (#6910)
Merge pull request 6910
2018-04-10 11:00:12 -04:00
David Zhang 2a032a38ec Bump Rubocop to 0.54.x (#6915)
Merge pull request 6915
2018-04-09 04:26:49 -04:00
ashmaroli 9a88900246 require external library only if necessary (#6596)
Merge pull request 6596
2018-01-14 16:28:12 -05:00
jekyllbot 0fdb39bbd6
Avoid block parser warning in SmartyPants (#6565)
Merge pull request 6565
2017-12-07 19:55:05 +01:00
Ashwin Maroli fcb1b410e3 rename log_warnings to show_warnings 2017-12-07 23:44:15 +05:30
Ashwin Maroli 77852b8838 add option to configure kramdown warning output 2017-11-13 22:02:58 +05:30
Florian Thomas fa22ebf056 Log kramdown warnings if log level is WARN (#6522)
Merge pull request 6522
2017-11-09 09:11:05 -05:00
ashmaroli bb42e6251e enable `Style/UnneededCapitalW` cop (#6526)
Merge pull request 6526
2017-11-06 07:35:43 -05:00
ashmaroli 3838564d21 Remove unnecessary encoding comment (#6513)
Merge pull request 6513
2017-11-03 04:10:07 -04:00
jekyllbot e7f1ce2e2b Update Rubocop to 0.51.0 (#6444)
Merge pull request 6444
2017-10-19 14:22:36 -04:00
ashmaroli 00bad8bfe5 Bump rubocop to use `v0.50.x` (#6368)
Merge pull request 6368
2017-09-22 09:06:32 -04:00
Parker Moore 4c15b9e5e4 [WIP] Add shim that works for both Rouge 1 and Rouge 2 (#5919)
Merge pull request 5919
2017-08-17 11:16:18 -04:00
Parker Moore 7cf5f51ca2 Enforce Style/FrozenStringLiteralComment. (#6265)
Merge pull request 6265
2017-08-03 21:27:32 -04:00
Parker Moore 143367c5ca kramdown: symbolize keys in-place (#6247)
Merge pull request 6247
2017-07-28 12:05:43 -04:00
Pat Hawks 1d885911bc
Rubocop: Require consistent comma in multiline literals 2017-01-12 17:52:29 -06:00
Edward Thomson 054b23f69a Only complain about `coderay` if it is actually in the config
Don't complain about the deprecated `kramdown.coderay` key when
`highlighter == "coderay"`, since that could have been set with the
legitimate `syntax_highlighter: coderay` setting.  Instead, complain
only if the `kramdown.coderay` configuration setting is actually
present.
2016-09-19 11:38:05 -05:00
Parker Moore f5a0db9dcc
Rubocop: use %r for all regular expressions. 2016-06-02 17:08:21 -07:00
Pat Hawks d855ec03ba Rubocop: lib/jekyll/converters/markdown/redcarpet_parser.rb 2016-05-26 00:53:38 -05:00
Pat Hawks 0880dc097f Rubocop: lib/jekyll/converters/markdown/kramdown_parser.rb 2016-05-26 00:53:26 -05:00
Pat Hawks 38eb326b7f Rubocop: lib/jekyll/converters/markdown.rb 2016-05-26 00:53:15 -05:00
Pat Hawks a8d27e5788 Rubocop: Low hanging fruit 2016-05-23 22:10:49 -05:00
Florian Thomas d213981a24 Fix warnings
This removes the following warnings:

- /lib/jekyll/configuration.rb:151: warning: instance variable @default_config_file not initialized
- /lib/jekyll/converter.rb:12: warning: instance variable @highlighter_prefix not initialized
- /lib/jekyll/converter.rb:24: warning: instance variable @highlighter_suffix not initialized
- /lib/jekyll/converters/markdown.rb:9: warning: instance variable @setup not initialized
- /lib/jekyll/converters/markdown/kramdown_parser.rb:60: warning: instance variable @highlighter not initialized
- /lib/jekyll/frontmatter_defaults.rb:97: warning: shadowing outer local variable - path
- /lib/jekyll/plugin.rb:66: warning: instance variable @safe not initialized
- /lib/jekyll/regenerator.rb:147: warning: instance variable @disabled not initialized
- /test/test_convertible.rb:40: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_filters.rb:154: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_new_command.rb:84: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_site.rb:234: warning: assigned but unused variable - site
- /test/test_site.rb:240: warning: assigned but unused variable - site
- /test/test_site.rb:522: warning: assigned but unused variable - source
- /test/test_tags.rb:153: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:425: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:449: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:496: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:496: warning: instance variable @result not initialized
- /test/test_tags.rb:511: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:773: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_tags.rb:773: warning: instance variable @result not initialized
- /test/test_tags.rb:788: warning: ambiguous first argument; put parentheses or a space even after `/' operator
- /test/test_url.rb:66: warning: shadowing outer local variable - doc
- /lib/jekyll/url.rb:119:in `escape_path': warning: URI.escape is obsolete
2016-03-25 22:03:17 +01:00
Jordon Bedwell 65a1fc4120 Mispell Rouge intentionally. 2016-02-02 12:27:17 -06:00
Jordon Bedwell 4d805e29bc Fix #4427: Make our @config hash symbol accessible. 2016-01-30 09:48:37 -06:00
Pat Hawks ddf640e6bd
Test all the things 2016-01-08 17:10:36 -08:00
Pat Hawks acb2263f51
Add smartify filter 2016-01-07 02:36:24 -08:00
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 ec83ef60b5
Rubocop: Lint/UselessAssignment 2016-01-04 11:49:54 -08:00
Pat Hawks f6fd9014ba
Rubocop: Style/CaseIndentation
- Indent when as deep as case
2016-01-04 11:15:37 -08:00
Pat Hawks 4c5d77a4b5 Rubocop: Style/EmptyLines 2016-01-04 11:08:18 -08:00
Pat Hawks e3189e3828
Rubocop: Lint/UnusedMethodArgument 2016-01-03 17:07:39 -08:00
Pat Hawks af5d51289f
Rubocop: Style/SymbolProc
- Pass &:to_sym as an argument to map instead of a block
 - Pass &:capitalize as an argument to select instead of a block
 - Pass &:to_s as an argument to map instead of a block
2016-01-03 16:02:32 -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 a70d89a862
Rubocop: Style/SpaceAfterComma
- Space missing after comma
2016-01-03 15:56:44 -08:00