a post with diagrams
This theme supports generating various diagrams from a text description using jekyll-diagrams plugin. Below, we generate a few examples of such diagrams using languages such as mermaid, plantuml, vega-lite, etc.
Note: different diagram-generation packages require external dependencies to be installed on your machine. Also, be mindful of that because of diagram generation the fist time you build your Jekyll website after adding new diagrams will be SLOW. For any other details, please refer to jekyll-diagrams README.
Mermaid
Install mermaid using node.js package manager npm by running the following command:
npm install -g mermaid.cli
The diagram below was generated by the following code:
```mermaid
sequenceDiagram
participant John
participant Alice
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
```mermaid
sequenceDiagram
participant John
participant Alice
Alice->>John: Hello John, how are you?
John-->>Alice: Great!
Enjoy Reading This Article?
Here are some more articles you might like to read next:
- Displaying External Posts on Your al-folio Blog
- a post with bibliography
- a post with jupyter notebook
- a post with custom blockquotes
- a post with table of contents on a sidebar
- a post with audios
- a post with videos
- displaying beautiful tables with Bootstrap Tables
- a post with table of contents
- a post with giscus comments