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

Tables are not rendering in page #82

Closed
yammadev opened this issue Mar 16, 2020 · 3 comments
Closed

Tables are not rendering in page #82

yammadev opened this issue Mar 16, 2020 · 3 comments

Comments

@yammadev
Copy link

Hello there, I'm facing a problem with tables rendering, this is my code:

| Flag                | Code | Region         |
|:--------------------|:-----|:---------------|
| ![AD](png/EU.png)   | EU   | European Union |
| ![AE](png/WW.png)   | WW   | World          |
| ![CNA](png/CNA.png) | CNA  | North America  |
| ![CSA](png/CSA.png) | CSA  | South America  |
| ![CEU](png/CEU.png) | CEU  | Europe         |
| ![CAF](png/CAF.png) | CAF  | Africa         |
| ![CAS](png/CAS.png) | CAS  | Asia           |
| ![COC](png/COC.png) | COC  | Oceania        |

and it looks like:

image

However in readme.md is rendering correctly:

image

This is my live site to check it out.

@ms-studio
Copy link

Indeed, the Markdown parsing in README files is different from the parsing in Github Pages.

To make the table work, just add an empty line between the header and the table.

This has probably something to do with the Markdown parser defined in Jekyll... see https://help.github.com/en/github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll

GitHub Pages supports two Markdown processors: kramdown and GitHub's own extended CommonMark processor, which is used to render GitHub Flavored Markdown (GFM) throughout GitHub.

You could change the setting in _config.yml from "kramdown" to "GFM" and see if this helps.

@yammadev
Copy link
Author

This is my live site to check it out.

@ms-studio Thank you very much! That solved my issue, now it's working as expected.

ms-studio added a commit to eracom-id491/cours-programmation-1 that referenced this issue Jun 12, 2020
ms-studio referenced this issue in coursweb/cours-revision Apr 16, 2021
joey-chance added a commit to joey-chance/MedBook that referenced this issue Mar 7, 2022
joey-chance added a commit to joey-chance/MedBook that referenced this issue Mar 8, 2022
* documentation/user-guide: (24 commits)
  Add empty line between header and table to fix how table is rendered on GitHub Pages. Refer to: pages-themes/cayman#82
  Minor fixes
  Add User Guide sections 2.7, 2.8 and 2.9
  Upload UI screenshots for feature 2.8.1 and 2.8.2
  Add icon in user guide
  Add icon png asset
  Update docs/UserGuide.md
  Add files via upload
  Create temp
  Delete user-guide
  Create user-guide
  Add new line at EOP
  Add a new ling at EOF
  Remove new line at EOF
  Included layout and title
  Remove redundant newline
  Remove trailing whitespace
  Update user guide overview and setup guide
  Added part that should be retained
  Add new line at EOF
  ...
@lmjaedentai
Copy link

markdown: kramdown

ankitkat042 added a commit to ankitkat042/SemWiseResourcesIIIT that referenced this issue Mar 16, 2023
Changed default markdown to GFM due to table conflicts. similar issue pages-themes/cayman#82
MStuhlmacher added a commit to MStuhlmacher/mstuhlmacher.github.io that referenced this issue Apr 20, 2023
douglas-c pushed a commit to vsphere-tmm/Supervisor-Services that referenced this issue May 12, 2023
Switches the jekyll markdown rendering to GFM so the compatibility table displays correclty on Github sites.

Based on the suggestion from this issue: pages-themes/cayman#82

=========================
Testing Done: Ran jekyll server locally and observed the site rendering as expected.
douglas-c pushed a commit to vsphere-tmm/Supervisor-Services that referenced this issue May 13, 2023
Switches the jekyll markdown rendering to GFM so the compatibility table displays correclty on Github sites.

Based on the suggestion from this issue: pages-themes/cayman#82

=========================
Testing Done: Ran jekyll server locally and observed the site rendering as expected.
maxidukov added a commit to maxidukov/test_md that referenced this issue Aug 24, 2023
Insert blank line between header and table to make it render as table on github page as suggested in pages-themes/cayman#82
Tejas-Jain added a commit to Tejas-Jain/docs that referenced this issue Sep 13, 2023
Dev-Lan added a commit to Dev-Lan/ksoc-gradsac.github.io that referenced this issue Dec 8, 2023
The tables are not currently rendering correctly on the webpage. It may need an extra line between the header and the content according to this issue: pages-themes/cayman#82
jakobottar pushed a commit to ksoc-gradsac/ksoc-gradsac.github.io that referenced this issue Dec 8, 2023
The tables are not currently rendering correctly on the webpage. It may need an extra line between the header and the content according to this issue: pages-themes/cayman#82
omarcostahamido added a commit to omarcostahamido/IntroToGithub that referenced this issue Feb 6, 2024
- trying to fix tables not rendering on pages
- following advise from: pages-themes/cayman#82 (comment)
omarcostahamido added a commit to omarcostahamido/IntroToGithub that referenced this issue Feb 6, 2024
- add template
- add images for `intervenientes`
- move title to template side panel

commit log:
* Update README.md

- add github user photo on a table next to name and role

* Update README.md

- trying to fix tables not rendering on pages
- following advise from: pages-themes/cayman#82 (comment)

* Update README.md

- trying a different strat to put image on the side

* Update README.md

- duplicate current strat to other scenarios

* Update README.md

- experiment with clearfix

* Update README.md

- add italic and trigger deploy

* Update README.md

- decide on which strategy for placing the closing div tag

* Update README.md

- add some bottom margin

* Create _config.yml

* Create .gitignore

* Update _config.yml

* Update _config.yml

* Update README.md

fix links

* Update _config.yml

* Update README.md

- remove title since it is on the side

* Update _config.yml

- escape chars

* Update _config.yml

- escape by turning into string

* Update _config.yml

- move main info to side

* Update _config.yml

- simplify side elements

* Update README.md

- swap place for line brake
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

No branches or pull requests

3 participants