Skip to content

Ajouter Mermaid.js

Olivier Maury requested to merge add-mermaidjs into main

Suite à https://forgemia.inra.fr/git-gitlab-paca/support-de-formation/-/issues/13#note_147314, je propose cette modification pour pouvoir intégrer les diagrammes MermaidJS dans les diapos.


In Mermaid, we support the basic git operations like:

  • commit : Representing a new commit on the current branch.
  • branch : To create & switch to a new branch, setting it as the current branch.
  • checkout : To checking out an existing branch and setting it as the current branch.
  • merge : To merge an existing branch onto the current branch.

Le code suivant :

gitGraph
   commit
   commit
   branch develop
   checkout develop
   commit
   commit
   checkout main
   merge develop
   commit
   commit

Donne :

gitGraph
   commit
   commit
   branch develop
   checkout develop
   commit
   commit
   checkout main
   merge develop
   commit
   commit
Edited by Olivier Maury

Merge request reports

Loading