Whitelist something that lets Jekyll render ```mermaidJS by default so the same markdown renders the same mermaidJS image
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 25/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- github, jekyll, ruby
- Domaine
- build-system, web-dev
Piste de recherche
Commencez par reproduire le comportement dans rabestro.github.io/test-mermaid et rabestro/test-mermaid, puis examinez le pipeline de rendu Jekyll de pages-gem et sa liste blanche de plugins. Comparez la gestion de Mermaid par GitHub Markdown avec le rendu de GitHub Pages. Le travail est considéré comme terminé lorsque l’exemple Mermaid standard avec du fenced code est correctement rendu via le flux GitHub Pages par défaut, sans configuration supplémentaire de la part de l’utilisateur.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
I'm in good faith tracking this as a CRITICAL ACCESSABILITY ISSUE for people in the development community who are visually disabled and use mermaidjs to communicate visual ideas and want to use Github Pages.
Worse, GH stated they supported this in a big blog post, and they clearly don't, because I cant copy a mermaidJS markdown file and have it show up on GitHub Pages using only the default GHPages flow. If this is the wrong place, let me know and I will simply refile this bug as needed to assist in good faith.
This fix needs to be on the GitHub side to mitigate duplicated effort and to support the best accessibility
This issue affects
- Everybody on github using GitHub Pages who read https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/
- The blind/disabled development community who wants to use the "standard" mermaid support on GitHub on GitHub Pages to communicate visual ideas.
Issues
- The site generated by GitHub Pages does not render mermaidJS by default, despite the fact that GH has publicly and falsely declared that its supported across the entire website for all markdown files per https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/ when that is clearly not the case.
- The jekyll rendering pipeline used by GH pages actively blocks all non-whitelisted plugins from being loaded.
- The jekyll rendering pipeline used by GH pages does not include a plugin in the whitelist that can be used to render mermaidJS.
- The jekyll rendering pipeline used by GH Pages also corrupts/mis-renders standard GitHub "```mermaidjs" markdown into "mermaid-language" code html blocks
- If Github Pages is about ease of use, and if the expectation is that the markdown rendering of GitHub should work on GitHub Pages, that's not happening.
What did you do (e.g., steps to reproduce)
Tried to use standard github markdown with the ```mermaid tag as described on https://github.blog/2022-02-14-include-diagrams-markdown-files-mermaid/
What did you expect to happen?
I expected it to render mermaid with no other work from me.
What happened instead?
MermaidJS is not rendered at all and the Jykll system is also parsing it wrong and rendering the wrong thing.
Additional information
https://rabestro.github.io/test-mermaid/ and https://github.com/rabestro/test-mermaid shows the issue perfectly
Additional Repos showing this problem:
I also am seeing this on my own github.io
- Langage dominant
- Ruby
- Étoiles
- 1.9k
- Forks
- 362
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de github/pages-gem
-
Outdated dependencies will cause problem with end of Node.js 20 supportPeut-être pris @gruenich l’a pris il y a 29 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
GitHub PagesOuverte
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
-
CVE-2026-85396 rubyzip path traversal vulnerabilityPeut-être pris @benbalter l’a pris il y a 27 jours. Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
-
Error when building docker imageOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
-
Serving SQLite database files with sql.js-httpvfs broken due to gzip encoding on HEAD requestsOuverte
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
Toutes les issues de github/pages-gem
Issues similaires
-
verified
Difficulté 2/5 1-3 heures Accessibilité débutants 67/100
Les mainteneurs répondent en général sous 5 jours
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 86/100
akitaonrails/ai-book-2026#10 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
TheOdinProject/curriculum#31495 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
zerocracy/judges-action#2984 ·
Les mainteneurs répondent en général sous 1 jour