Giter Site home page Giter Site logo

jekyll upgrade about mango-is-website HOT 13 CLOSED

mef avatar mef commented on May 30, 2024
jekyll upgrade

from mango-is-website.

Comments (13)

webketje avatar webketje commented on May 30, 2024

Updated: 892f9b6
No breaking changes at first sight, only character replacements

from mango-is-website.

mef avatar mef commented on May 30, 2024

is this to be tested yet? tag is missing.

from mango-is-website.

webketje avatar webketje commented on May 30, 2024

Not to forget (& not in this commit ofc., but required to work):

  • update pygments: true to highlighter: pygments in local _config.yml
  • update jekyll to 3.x

from mango-is-website.

mef avatar mef commented on May 30, 2024

update pygments: true to highlighter: pygments in local _config.yml

this should be changed inside the sample config file.

from mango-is-website.

mef avatar mef commented on May 30, 2024

code highlighting does not work for me.

The jekyll build runs well, but then I get the following instead of the code blocks:

<p>Liquid error: pygments</p>

This can be seen inside this article for example: /_site/blog/engineering/pre-render-d3-js-charts-at-server-side.html

@webketje, thanks for letting me know whether this is also the case in your setup. Maybe it's just my version of ruby and/or pygments which is faulty.

  • ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
  • jekyll (3.0.0.pre.beta8, 2.5.3)
  • pygments.rb (0.6.3)

from mango-is-website.

mef avatar mef commented on May 30, 2024

testing result: I've done a diff between this version and the previous one. Except for the code's syntax highlighter, everything looks good.

from mango-is-website.

webketje avatar webketje commented on May 30, 2024

Tested and syntax highlighting works both for jekyll serve (local server) and jekyll build (generated files in _site). My setup is slightly different though:

  • ruby 2.0.0-x64
  • pygments.rb (0.6.0)

from mango-is-website.

mef avatar mef commented on May 30, 2024

Ok, Thanks, good to know.I'm setting up another machine in the mean time, will check whether the code generates well in there.

from mango-is-website.

mef avatar mef commented on May 30, 2024

minor issue: I sometimes have the following warnings when running jekyll serve:

 Build Warning: Layout 'none' requested in blog/feed/index.xml does not exist.
 Build Warning: Layout 'none' requested in blog/engineering/feed/index.xml does not exist.
 Build Warning: Layout 'none' requested in blog/business/feed/index.xml does not exist.

from mango-is-website.

mef avatar mef commented on May 30, 2024

the code highlighting error is stil here for me (Liquid error: pygments).

Downgrading to pygments 0.6.0 didn't solve the problem.

Which version of liquid is installed in your machine? I'm on liquid (3.0.6)

from mango-is-website.

mef avatar mef commented on May 30, 2024

it's worth noting that exactly the same error happens if I switch to rouge syntax highlighter.

switching to rouge looks to fix the problem. I'll just need to adapt postions of code for suitable block rendering.

from mango-is-website.

webketje avatar webketje commented on May 30, 2024

@mef about the minor issue; yes, I get that all the time too (together with Error: Marshal data too short...). Guess the parser has become stricter.My Liquid version is 3.0.4. Never had any problems with pygments.

from mango-is-website.

mef avatar mef commented on May 30, 2024

finally switching to hexo instead

from mango-is-website.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.