Comments (9)
I try to enable tables for my github page. I tried the following:
markdown: redcarpet
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"]
However I got an email from github:
The page build completed successfully, but returned the following warning for the
gh-pages
branch:You are currently using the 'redcarpet' Markdown engine, which is no longer supported by GitHub Pages and may cease working at any time. To ensure your site continues to build, remove the 'markdown' setting in your site's '_config.yml' file and confirm your site renders as expected. For more information, see https://help.github.com/articles/updating-your-markdown-processor-to-kramdown/.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can contact us by replying to this email.
So I read this post which stated kramdown enables tables by default. But it does not seem to work in my case. My table looks like this:
| Rating | Security | Explanation |
|-----------|---------------------|-----------------------------------------|
| Excellent | Very secure | Criteria is met optimal |
| High | Secure | Criteria is met |
| Mid | Insufficient secure | Criteria is met partly |
| Low | Insecure | Criteria is no met |
| N/A | Not rated | Criteria is not available or irrelevant |
Edit:
The solution is to have an extra line between the headline/text and the table. With normal github markdown and atom markdown this work, but for the page generation you have to add an extra newline.
from pages-gem.
remove the 'markdown' setting in site's '_config.yml' file, then add an extra blank line between the headline/text and the table which is working for me.@NicoHood 👍
from pages-gem.
Which markdown generator are you using? Kramdown has support for tables, but the other 4 supported Markdown generators may not.
from pages-gem.
ah, I am just using the default which i thought was kramdown. Will have a poke around. I just installed the pages gem and added my posts, watching with jekyll serve --watch
. I thought this gem setup jekyll with exactly the same setup as github pages so didnt think i could specify the generator in use, unless thats part of the _config
file. Will have a look. Sorry, new to all this :)
from pages-gem.
You can specify whatever markdown processor you want. And kramdown should be the default.
from pages-gem.
ah thanks - im using jekyll now which uses redcarpet
by default - which needs (some extra setup)[http://stackoverflow.com/questions/16099153/table-not-render-when-use-redcarpet-in-jekyll-github-pages] for tables to work - will switch to kramdown
from pages-gem.
@kleinfreund you say anyone you want - am I right in thinking I can old use either
- maruku
- kramdown
- rdiscount
- redcarpet
as these are the dependencies of the gem?
from pages-gem.
Yeah, you're not limited to kramdown albeit being the current default. The present dependencies will work on GitHub Pages as well.
from pages-gem.
Great thx, kramdown is working for me
from pages-gem.
Related Issues (20)
- i18n dependency version conflict preventing activesupport update to fix CVE-2023-22796 HOT 2
- Liquid version on M1 Mac HOT 3
- No syntax highlighting for Dafny HOT 2
- baseurl is rendered as an empty string HOT 1
- Links with titles not handled properly
- <!DOCTYPE html> <html> <body> <h1>Hello World</h1> <p>I'm hosted with GitHub Pages.</p> </body> </html> HOT 2
- Work with latest Ruby 3
- NoMethodError: undefined method `inflate' for Gem:Module HOT 1
- GitHub Pages Deployment Failing HOT 3
- can't find gem bundler (= 2.0.1) with executable bundle HOT 1
- Consider adding `webrick` to the whitelist of allowed GitHub Pages dependencies to avoid build warnings HOT 1
- Find a maintainer or update support condition HOT 1
- Running with docker image does not work out-of-the-box HOT 2
- Whitelisting jekyll-webpack
- Failed to serve site HOT 2
- Windows: Failed to build (mathn) HOT 2
- Error: csv was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0 HOT 1
- Can't serve website due to sass-embedded version HOT 2
- Gem may fail if a user has a repository with many contributors HOT 2
- override theme's `default.html` or equivalent
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 pages-gem.