Skip to content

Instantly share code, notes, and snippets.

View yoyomonem's full-sized avatar
💻
Working on Install.js and other stuff

Y Nasr yoyomonem

💻
Working on Install.js and other stuff
View GitHub Profile
@yoyomonem
yoyomonem / Mermaid Diagram Stories.md
Last active March 29, 2024 09:40
Mermaid Diagram Chat

Mermaid story 1

sequenceDiagram
Markdown ->> Youssef: Hello, Youssef!
Markdown ->> Youssef: How are you?
Youssef ->> Markdown: I'm good, thanks!
Youssef ->> React: How about you, React?
React-->> Youssef: I'm good, thanks!<br>Also, I use other JavaScript libraries because I'm a JavaScript library<br>available on npm myself!
React-->> Markdown: How about you, Markdown?
Markdown ->> React: I'm relatively good enough for Christmas presents if I say so myself.<br>Like, I'm not even raging around in this Mermaid<br>diagram chat.
@yoyomonem
yoyomonem / spoiler.txt
Last active July 4, 2023 12:00
How to make spoilers in Markdown
<details>
<summary>spoiler name here</summary>
Spoiler text. Note that it's important to have a line break after the `<summary>` element, then you can add Markdown into the spoiler. Make sure to close it up with `</details>` afterwards.
```js
console.log("I'm a code block!");
```
</details>