You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-4
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
3
3
An open-source project that categorizes handy code snippets across various programming languages. Built with love and powered by an awesome community. 🚀
<imgsrc="https://img.shields.io/static/v1?label=&message=Watch%20on%20YouTube&labelColor=FFFFFF&color=FF0000&style=for-the-badge&logo=youtube&logoColor=FF0000"alt="Watch on YouTube"style="margin-right: 20px">
<imgsrc="https://img.shields.io/static/v1?label=&message=Watch%20on%20YouTube&labelColor=FFFFFF&color=FF0000&style=for-the-badge&logo=youtube&logoColor=FF0000"alt="Watch on YouTube">
7
8
</a>
9
+
<div>
8
10
9
11
<br>
10
12
@@ -36,20 +38,45 @@ The snippets database is located in the `/snippets` folder.
36
38
37
39
3. Create a markdown file and add your snippet using the following format:
38
40
39
-
```md
41
+
````md
40
42
---
41
43
title: Name of the snippet
42
44
description: A short explanation of what the snippet does
43
45
tags: tag1, tag2, tag3
44
46
author: your-github-username
45
47
---
46
48
49
+
```lang
47
50
// Your code here
48
51
```
52
+
````
49
53
50
54
Here's an example for JavaScript:
51
55
52
-

56
+
````md
57
+
---
58
+
title: Format Date
59
+
description: Formats a date in 'YYYY-MM-DD' format.
0 commit comments