OBOAcademy / obook

OBO Organized Knowledge: Training materials for becoming an OBO engineer
https://oboacademy.github.io/obook/
Creative Commons Zero v1.0 Universal
91 stars 38 forks source link

mermaid graphs are not rendering #333

Closed balhoff closed 1 year ago

balhoff commented 1 year ago

Nice mermaid figures in here:

https://github.com/OBOAcademy/obook/blob/master/docs/explanation/taxon-constraints-explainer.md

Come out as source code in here:

https://oboacademy.github.io/obook/explanation/taxon-constraints-explainer/

matentzn commented 1 year ago

@souzadevinicius can you fix this? You know how it's done! Thanks!

balhoff commented 1 year ago

@sujaypatil96 pointed out to me that there is a plugin for this: https://github.com/fralau/mkdocs-mermaid2-plugin

He also mentioned this example to require the plugin: https://github.com/microbiomedata/nmdc-schema/blob/main/mkdocs.yml#L7

matentzn commented 1 year ago

Yes we are using it on pheval