Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for Jekyll 3.x #144

Closed
JuanjoSalvador opened this issue Mar 6, 2016 · 8 comments
Closed

Changes for Jekyll 3.x #144

JuanjoSalvador opened this issue Mar 6, 2016 · 8 comments

Comments

@JuanjoSalvador
Copy link

Jekyll 3.x has some changes with Jekyll 2.x. This is a list of some:

  • Jekyll 3.x does not support anymore permalinks. We must remove it.
  • Jekyll 3.x does not support anymore Pygments as highlighter. Instead of pygments, we must use Rouge.
  • Jekyll 3.x does not support anymore redcarpet. Instead of redcarpet, we must use kramdown as markdown engine.
@manwithacat
Copy link

I've stuck in a pull request (#148) for this. Just need a couple of quick amendments to `_config.yaml'

@JuanjoSalvador
Copy link
Author

Shortly after publishing this issue, I sent a pull request with changes in _config.yml #145

@binduwavell
Copy link

Maybe this is obvious to others, I have not used ruby or jekyll before. I had to gem install jekyll-paginate and then add gems: [jekyll-paginate] to _config.yml.

Also after completing the steps from #145 and the above I'm still receiving the following error:

Liquid Exception: Liquid syntax error (line 49): Unknown tag 'gist' in my-path/_posts/2012-02-07-example-content.md

So I had to gem install jekyll-gist and then update the gist enty in _config.yml to gems: [jekyll-paginate,jekyll-gist]

@JuanjoSalvador
Copy link
Author

So you have to install jekyll-paginate, and jekyll-gist to make it run in your server, is it? This is not a change for Jekyll 3.x, but it can be an issue. Open a new one with all the info.

@aldoKelvianto
Copy link

Hey, just a quick note, using @JuanjoSalvador comment I updated my _config.yml

# Gems
gems:
  - jekyll-paginate
  - jekyll-gist
  - redcarpet

markdown:         kramdown
highlighter:      rouge

# Permalinks
permalink:        pretty
# relative_permalinks: true

and it finally works!

It's December and they still haven't updated it yet?

PS: Mac users, if you're getting

ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/posix-spawn-benchmark

while installing rouge or kramdown, use gem install rouge --user-install

@JuanjoSalvador
Copy link
Author

Maybe @mdo is busy.

@frames75
Copy link

I just find out all you say here for myself, using Jekyll v.4.0.0 on Linux Mint 19 (so much time saved if I had read this post before). The only change I've had to do in _config.yml:

# Gems
plugins: [jekyll-paginate, jekyll-gist]

@mdo
Copy link
Member

mdo commented Apr 4, 2020

Fix coming in #258.

@mdo mdo closed this as completed Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants