Comments (13)
Updated: 892f9b6
No breaking changes at first sight, only character replacements
from mango-is-website.
is this to be tested yet? tag is missing.
from mango-is-website.
Not to forget (& not in this commit ofc., but required to work):
- update
pygments: true
tohighlighter: pygments
in local_config.yml
- update jekyll to 3.x
from mango-is-website.
update pygments: true to highlighter: pygments in local _config.yml
this should be changed inside the sample config file.
from mango-is-website.
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.
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.
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.
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.
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.
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.
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.
@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.
finally switching to hexo instead
from mango-is-website.
Related Issues (20)
- general CSS tuning
- wider tools column
- UX and UI enhancements HOT 1
- fix localforage on firefox 63+
- Site-wise fonts refactoring
- minor updates HOT 2
- layout enhancements
- ig-hashtag-recommender tool
- Refactor blog home pages layout HOT 2
- Implement native smooth-scrolling
- Home page copy update HOT 1
- tag open source tools
- home page swap client logos and client references sections
- restore direct hyperlink to zoom.it
- archive multiGa
- csv-to-json feedback
- remove hyperlink to multiGa HOT 2
- Prepare phasing-out of the site
- Migrate to new domain
- occasional data extraction failure in myTagOverflow
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mango-is-website.