Open davidwilby opened 2 years ago
:rocket: Works on the test deployment here: https://deploy-preview-51--srse-git-github-zero2hero.netlify.app/04-collaborative_github_advanced/00-intro/
Any input on this gratefully received! @annakrystalli @ns-rse @bobturneruk :birthday:
Look into doing this bottom to top, so the diagrams look more similar to gitkraken's graph
Name | Link |
---|---|
Latest commit | 01932b6d40af4532c2dc0111dd1e8c5d1fa6015b |
Latest deploy log | https://app.netlify.com/sites/peppy-otter-7a55ad/deploys/63a0481af278920008a2560c |
Deploy Preview | https://deploy-preview-51--peppy-otter-7a55ad.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Look into doing this bottom to top, so the diagrams look more similar to gitkraken's graph
Unfortunately this is not a thing *sigh* - requested feature for @mermaid-js but alas not yet.
Also AFAICT there is no good way of resizing mermaid graphs in hugo either...
Maybe long term we could look to migrating to GitHub Pages?
I came across a possible solution to this the other day.
The mermaid.live site provides the ability to copy a Markdown link to a graph you have previewed. I've embedded these in the Carpentries Sandpaper Workbench site and they render nicely and seem to do so here on GitHub so I suspect they will work with this site.
Here's a messy graph I once drew to demonstrate something
Resolves #50
Just a draft example at present to show using mermaid's git graphs in the materials.
I've had to use the
customMermaidURL
parameter of the learn theme since it hasn't been updated in a while and is quite outdated vis a vis mermaid. However, it would be nice to remove this at some point so we don't have to keep track of the versions.Creates a git graph that looks like this at present. with the commit labels deliberately removed in this example.