|
49 | 49 | "</Tabs>" |
50 | 50 | ], |
51 | 51 | "scope": "markdown" |
| 52 | + }, |
| 53 | + "Markdown Alert": { |
| 54 | + "prefix": ["rbx:alert"], |
| 55 | + "description": "Alert component for warnings, info, success, error", |
| 56 | + "body": [ |
| 57 | + "<Alert severity='${1|info,warning,error,success|}'>", |
| 58 | + "${0}", |
| 59 | + "</Alert>" |
| 60 | + ], |
| 61 | + "scope": "markdown" |
| 62 | + }, |
| 63 | + "Markdown Grid Container": { |
| 64 | + "prefix": ["rbx:grid-container"], |
| 65 | + "description": "Grid container for layout", |
| 66 | + "body": [ |
| 67 | + "<GridContainer numColumns='${1:2}'>", |
| 68 | + "\t${0}", |
| 69 | + "</GridContainer>" |
| 70 | + ], |
| 71 | + "scope": "markdown" |
| 72 | + }, |
| 73 | + "Markdown Grid": { |
| 74 | + "prefix": ["rbx:grid"], |
| 75 | + "description": "Grid component with items", |
| 76 | + "body": [ |
| 77 | + "<Grid container spacing={${1:2}} style={{marginBottom: ${2:24}}}>", |
| 78 | + "\t<Grid item container XSmall={12} Medium={6} Large={4} direction='row' style={{gap: ${3:24}, marginBottom: ${4:12}}}>", |
| 79 | + "\t\t<Grid item container wrap='nowrap' direction='column' style={{gap: ${5:8}, flex: 1}}>", |
| 80 | + "\t\t\t${0}", |
| 81 | + "\t\t</Grid>", |
| 82 | + "\t</Grid>", |
| 83 | + "</Grid>" |
| 84 | + ], |
| 85 | + "scope": "markdown" |
| 86 | + }, |
| 87 | + "Markdown Typography": { |
| 88 | + "prefix": ["rbx:typography"], |
| 89 | + "description": "Typography component", |
| 90 | + "body": [ |
| 91 | + "<Typography variant='${1|h1,h2,h3,h4,h5,h6,body1,body2,subtitle1,subtitle2|}'>${0}</Typography>" |
| 92 | + ], |
| 93 | + "scope": "markdown" |
| 94 | + }, |
| 95 | + "Markdown Figure": { |
| 96 | + "prefix": ["rbx:figure"], |
| 97 | + "description": "Figure with image and caption", |
| 98 | + "body": [ |
| 99 | + "<figure>", |
| 100 | + "\t<img src='${1:../assets/path/to/image.png}' alt='${2:Alt text}' />", |
| 101 | + "\t<figcaption>${3:Caption text}</figcaption>", |
| 102 | + "</figure>" |
| 103 | + ], |
| 104 | + "scope": "markdown" |
| 105 | + }, |
| 106 | + "Markdown Image": { |
| 107 | + "prefix": ["rbx:img"], |
| 108 | + "description": "Image with common attributes", |
| 109 | + "body": [ |
| 110 | + "<img src='${1:../assets/path/to/image.png}' alt='${2:Alt text}' width='${3:50%}' />" |
| 111 | + ], |
| 112 | + "scope": "markdown" |
| 113 | + }, |
| 114 | + "Markdown YouTube Iframe": { |
| 115 | + "prefix": ["rbx:youtube"], |
| 116 | + "description": "YouTube video iframe", |
| 117 | + "body": [ |
| 118 | + "<iframe width='${1:800}' height='${2:450}' src='https://www.youtube-nocookie.com/embed/${3:VIDEO_ID}' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' allowfullscreen></iframe>" |
| 119 | + ], |
| 120 | + "scope": "markdown" |
| 121 | + }, |
| 122 | + "Markdown Lua Code Block": { |
| 123 | + "prefix": ["rbx:lua"], |
| 124 | + "description": "Lua code block", |
| 125 | + "body": [ |
| 126 | + "```lua", |
| 127 | + "${0}", |
| 128 | + "```" |
| 129 | + ], |
| 130 | + "scope": "markdown" |
| 131 | + }, |
| 132 | + "Markdown Lua Code Block with Highlight": { |
| 133 | + "prefix": ["rbx:lua-highlight"], |
| 134 | + "description": "Lua code block with line highlighting", |
| 135 | + "body": [ |
| 136 | + "```lua highlight='${1:2}'", |
| 137 | + "${0}", |
| 138 | + "```" |
| 139 | + ], |
| 140 | + "scope": "markdown" |
| 141 | + }, |
| 142 | + "Markdown Table": { |
| 143 | + "prefix": ["rbx:table"], |
| 144 | + "description": "HTML table structure", |
| 145 | + "body": [ |
| 146 | + "<table>", |
| 147 | + "<thead>", |
| 148 | + "\t<tr>", |
| 149 | + "\t\t<th>${1:Header 1}</th>", |
| 150 | + "\t\t<th>${2:Header 2}</th>", |
| 151 | + "\t</tr>", |
| 152 | + "</thead>", |
| 153 | + "<tbody>", |
| 154 | + "\t<tr>", |
| 155 | + "\t\t<td>${3:Cell 1}</td>", |
| 156 | + "\t\t<td>${4:Cell 2}</td>", |
| 157 | + "\t</tr>", |
| 158 | + "</tbody>", |
| 159 | + "</table>" |
| 160 | + ], |
| 161 | + "scope": "markdown" |
| 162 | + }, |
| 163 | + "Markdown Frontmatter": { |
| 164 | + "prefix": ["rbx:frontmatter"], |
| 165 | + "description": "YAML frontmatter for markdown files", |
| 166 | + "body": [ |
| 167 | + "---", |
| 168 | + "title: ${1:Page Title}", |
| 169 | + "description: ${2:Page description}", |
| 170 | + "---", |
| 171 | + "", |
| 172 | + "${0}" |
| 173 | + ], |
| 174 | + "scope": "markdown" |
| 175 | + }, |
| 176 | + "Markdown Blockquote": { |
| 177 | + "prefix": ["rbx:blockquote"], |
| 178 | + "description": "Blockquote element", |
| 179 | + "body": [ |
| 180 | + "<blockquote>", |
| 181 | + "${0}", |
| 182 | + "</blockquote>" |
| 183 | + ], |
| 184 | + "scope": "markdown" |
| 185 | + }, |
| 186 | + "Markdown Code Inline": { |
| 187 | + "prefix": ["rbx:code"], |
| 188 | + "description": "Inline code with backticks", |
| 189 | + "body": [ |
| 190 | + "`${0}`" |
| 191 | + ], |
| 192 | + "scope": "markdown" |
| 193 | + }, |
| 194 | + "Markdown Link": { |
| 195 | + "prefix": ["rbx:link"], |
| 196 | + "description": "Markdown link", |
| 197 | + "body": [ |
| 198 | + "[${1:Link Text}](${2:../path/to/page.md})" |
| 199 | + ], |
| 200 | + "scope": "markdown" |
| 201 | + }, |
| 202 | + "Markdown Class Reference": { |
| 203 | + "prefix": ["rbx:class"], |
| 204 | + "description": "Class reference link", |
| 205 | + "body": [ |
| 206 | + "`Class.${1:ClassName}`" |
| 207 | + ], |
| 208 | + "scope": "markdown" |
| 209 | + }, |
| 210 | + "Markdown Property Reference": { |
| 211 | + "prefix": ["rbx:property"], |
| 212 | + "description": "Property reference link", |
| 213 | + "body": [ |
| 214 | + "`Class.${1:ClassName}.${2:PropertyName}`" |
| 215 | + ], |
| 216 | + "scope": "markdown" |
| 217 | + }, |
| 218 | + "Markdown Method Reference": { |
| 219 | + "prefix": ["rbx:method"], |
| 220 | + "description": "Method reference link", |
| 221 | + "body": [ |
| 222 | + "`Class.${1:ClassName}:${2:MethodName}()`" |
| 223 | + ], |
| 224 | + "scope": "markdown" |
52 | 225 | } |
53 | 226 | } |
0 commit comments