---
title: "Discussion on \"How to Create Diagrams as Code with Mermaid, GitHub, and Visual Studio Code\" | Hashnode"
description: "Discussion on \"How to Create Diagrams as Code with Mermaid, GitHub, and Visual Studio Code\". Diagrams are an important part of technical documentation. In this article we will explore how we can use code to generate diagrams and leverage them in Markdown.\nHere is an example of how a code generated diagram looks like:\n\nDiagram generated by co..."
url: "https://hashnode.com/posts/diagrams-as-code-with-mermaid-github-and-vs-code/66adea301ad24d82983fd24b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Create Diagrams as Code with Mermaid, GitHub, and Visual Studio Code](https://freecodecamp.org/news/diagrams-as-code-with-mermaid-github-and-vs-code?utm_source=hashnode&utm_medium=feed)

Diagrams are an important part of technical documentation. In this article we will explore how we can use code to generate diagrams and leverage them in Markdown. Here is an example of how a code generated diagram looks like: Diagram generated by co...

Sep 6, 2023 · 7 min read · freecodecamp.org  
Updated Nov 21, 2024  
Read the article

-   [#data-visualization](https://hashnode.com/tag/data-visualization)
-   [#documentation](https://hashnode.com/tag/documentation)
-   [#github](https://hashnode.com/tag/github)
-   [#vscode](https://hashnode.com/tag/vscode)

## Written by

[Zaira Hira](https://hashnode.com/@zaira)

@zaira

  
[View profile](https://hashnode.com/@zaira)

Helping you learn Linux, Python and Cybersecurity.

Making complex topics easy for you to understand.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
