diff options
Diffstat (limited to 'snippets')
-rw-r--r-- | snippets/chartjs_simple_bar_chart | 18 | ||||
-rw-r--r-- | snippets/html_details (renamed from snippets/html/details) | 0 | ||||
-rw-r--r-- | snippets/html_with_basic_head (renamed from snippets/html/html_with_basic_head) | 0 | ||||
-rw-r--r-- | snippets/lua_function (renamed from snippets/lua/function) | 0 | ||||
-rw-r--r-- | snippets/lua_keymap (renamed from snippets/lua/keymap) | 0 | ||||
-rw-r--r-- | snippets/markdown_table (renamed from snippets/markdown/table) | 0 | ||||
-rw-r--r-- | snippets/mermaid_simple_diagram | 8 |
7 files changed, 26 insertions, 0 deletions
diff --git a/snippets/chartjs_simple_bar_chart b/snippets/chartjs_simple_bar_chart new file mode 100644 index 0000000..0e581cb --- /dev/null +++ b/snippets/chartjs_simple_bar_chart | |||
@@ -0,0 +1,18 @@ | |||
1 | { | ||
2 | "type": "bar", | ||
3 | "data": { | ||
4 | "labels": ["Red", "Blue", "Yellow", "Green", "Purple", "Orange"], | ||
5 | "datasets": [{ | ||
6 | "label": "# of Votes", | ||
7 | "data": [12, 19, 3, 5, 2, 3], | ||
8 | "borderWidth": 1 | ||
9 | }] | ||
10 | }, | ||
11 | "options": { | ||
12 | "scales": { | ||
13 | "y": { | ||
14 | "beginAtZero": true | ||
15 | } | ||
16 | } | ||
17 | } | ||
18 | } | ||
diff --git a/snippets/html/details b/snippets/html_details index 26ecaa6..26ecaa6 100644 --- a/snippets/html/details +++ b/snippets/html_details | |||
diff --git a/snippets/html/html_with_basic_head b/snippets/html_with_basic_head index 219bae2..219bae2 100644 --- a/snippets/html/html_with_basic_head +++ b/snippets/html_with_basic_head | |||
diff --git a/snippets/lua/function b/snippets/lua_function index 4a0ea5e..4a0ea5e 100644 --- a/snippets/lua/function +++ b/snippets/lua_function | |||
diff --git a/snippets/lua/keymap b/snippets/lua_keymap index 255fe49..255fe49 100644 --- a/snippets/lua/keymap +++ b/snippets/lua_keymap | |||
diff --git a/snippets/markdown/table b/snippets/markdown_table index cb95fd4..cb95fd4 100644 --- a/snippets/markdown/table +++ b/snippets/markdown_table | |||
diff --git a/snippets/mermaid_simple_diagram b/snippets/mermaid_simple_diagram new file mode 100644 index 0000000..9a7d25d --- /dev/null +++ b/snippets/mermaid_simple_diagram | |||
@@ -0,0 +1,8 @@ | |||
1 | graph TD | ||
2 | A[Enter Chart Definition] --> B(Preview) | ||
3 | B --> C{decide} | ||
4 | C --> D[Keep] | ||
5 | C --> E[Edit Definition] | ||
6 | E --> B | ||
7 | D --> F[Save Image and Code] | ||
8 | F --> B | ||