├── Snippets ├── Footnote.tmSnippet ├── Link.tmSnippet ├── Numbered item.tmSnippet ├── Table Cell.tmSnippet ├── Unnumbered item.tmSnippet ├── Image.tmSnippet ├── Left Header.tmSnippet ├── Top Header.tmSnippet ├── Heading 4.tmSnippet ├── Heading 5.tmSnippet ├── Heading 1.tmSnippet ├── Heading 2.tmSnippet ├── Heading 3.tmSnippet ├── Numbered item 2.tmSnippet ├── Bold.tmSnippet ├── Unnumbered item 2.tmSnippet ├── Italic.tmSnippet ├── Code.tmSnippet ├── Underlined.tmSnippet └── Table.tmSnippet ├── Preferences ├── Disable spell checking in raw.tmPreferences ├── Folding.tmPreferences └── Show Heading in list.tmPreferences ├── README.mdown ├── info.plist └── Syntaxes └── DokuWiki.tmLanguage /Snippets/Footnote.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | (($1)) 7 | name 8 | Footnote 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | fn 13 | uuid 14 | 83126C3C-4297-41C0-8DDF-EF542F4F4A4B 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Link.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | [[$1|$2]]$0 7 | name 8 | Link 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | link 13 | uuid 14 | 9DB42640-627B-4979-8345-16C842CBA83F 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Numbered item.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | - 7 | name 8 | Numbered list 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | nu 13 | uuid 14 | 5F58856F-E66C-498D-A3AE-43C654A08745 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Table Cell.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | | ${1:cell} |$0 7 | name 8 | Table Cell 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | | 13 | uuid 14 | 26788F47-A936-42E1-A0D4-1860F1B3CC81 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Unnumbered item.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | * 7 | name 8 | Unnumbered list 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | un 13 | uuid 14 | F3CA2ACA-9CC5-4EF9-B93C-602D67763EFB 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Image.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | {{${1:image}|${2:caption}}} 7 | name 8 | Image 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | img 13 | uuid 14 | 884B287D-23D9-45A9-ACF1-4F642008A516 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Left Header.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ^ ${1:header} |$0 7 | name 8 | Left Header 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | lh 13 | uuid 14 | F8D115F4-6DC5-43B2-A591-2EF68DD7F421 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Top Header.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ^ ${1:header} ^$0 7 | name 8 | Top Header 9 | scope 10 | text.html.dokuwiki 11 | tabTrigger 12 | ^ 13 | uuid 14 | FF3A19A1-E063-4026-9FDB-780F6616BB2A 15 | 16 | 17 | -------------------------------------------------------------------------------- /Snippets/Heading 4.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | === ${1:heading} === 7 | 8 | name 9 | Heading 4 10 | scope 11 | text.html.dokuwiki 12 | tabTrigger 13 | h4 14 | uuid 15 | E4985429-C2A8-4B57-B51C-B56AAFB78397 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/Heading 5.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | == ${1:heading} == 7 | 8 | name 9 | Heading 5 10 | scope 11 | text.html.dokuwiki 12 | tabTrigger 13 | h5 14 | uuid 15 | F41642D5-83E1-4F26-88AC-ACA934049E39 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/Heading 1.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ====== ${1:heading} ====== 7 | 8 | name 9 | Heading 1 10 | scope 11 | text.html.dokuwiki 12 | tabTrigger 13 | h1 14 | uuid 15 | 43540858-1657-4ECC-BF3A-24EB3FE37F93 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/Heading 2.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ===== ${1:heading} ===== 7 | 8 | name 9 | Heading 2 10 | scope 11 | text.html.dokuwiki 12 | tabTrigger 13 | h2 14 | uuid 15 | D07A61C8-BB2F-4DF1-B376-C8124F215C8D 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/Heading 3.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ==== ${1:heading} ==== 7 | 8 | name 9 | Heading 3 10 | scope 11 | text.html.dokuwiki 12 | tabTrigger 13 | h3 14 | uuid 15 | 710E6F13-E35B-432C-A414-E9EE6F1C7B6F 16 | 17 | 18 | -------------------------------------------------------------------------------- /Preferences/Disable spell checking in raw.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Disable spell checking in raw 7 | scope 8 | markup.raw.dokuwiki 9 | settings 10 | 11 | spellChecking 12 | 0 13 | 14 | uuid 15 | B5C7FF05-8484-44B6-8343-BE44A9027261 16 | 17 | 18 | -------------------------------------------------------------------------------- /Snippets/Numbered item 2.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | 7 | - 8 | keyEquivalent 9 | 10 | name 11 | Numbered item 12 | scope 13 | markup.list.numbered.dokuwiki 14 | tabTrigger 15 | nu 16 | uuid 17 | 655EC983-10E9-4ECD-924B-14B6E7E2023F 18 | 19 | 20 | -------------------------------------------------------------------------------- /Snippets/Bold.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | **${TM_SELECTED_TEXT:text}** 7 | keyEquivalent 8 | @b 9 | name 10 | Bold 11 | scope 12 | text.html.dokuwiki 13 | semanticClass 14 | style.strong.dokuwiki 15 | uuid 16 | 76132630-5D14-4498-9338-D0F9522A3130 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/Unnumbered item 2.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | 7 | * 8 | keyEquivalent 9 | 10 | name 11 | Unnumbered item 12 | scope 13 | markup.list.unnumbered.dokuwiki 14 | tabTrigger 15 | un 16 | uuid 17 | 7E8E4E0B-B686-4256-947A-BD64888B7F78 18 | 19 | 20 | -------------------------------------------------------------------------------- /Snippets/Italic.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | //${TM_SELECTED_TEXT:text}// 7 | keyEquivalent 8 | @i 9 | name 10 | Italic 11 | scope 12 | text.html.dokuwiki 13 | semanticClass 14 | style.emphasis.dokuwiki 15 | uuid 16 | 61AF74D7-AAD9-4206-BF17-B18B9EACCAA9 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/Code.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | <code> 7 | $1 8 | </code> 9 | $0 10 | name 11 | Code 12 | scope 13 | text.html.dokuwiki 14 | semanticClass 15 | style.alternate.raw.dokuwiki 16 | tabTrigger 17 | code 18 | uuid 19 | 3107697A-39C7-4EFF-B115-7F5ED98B31AC 20 | 21 | 22 | -------------------------------------------------------------------------------- /Snippets/Underlined.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | __${TM_SELECTED_TEXT:text}__ 7 | keyEquivalent 8 | @u 9 | name 10 | Underlined 11 | scope 12 | text.html.dokuwiki 13 | semanticClass 14 | style.alternate.underline.dokuwiki 15 | uuid 16 | 04B0A93A-E8E5-4516-A4A4-897362A43540 17 | 18 | 19 | -------------------------------------------------------------------------------- /Snippets/Table.tmSnippet: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | content 6 | ^ ${1:head0} ^ ${2:head1} ^ ${3:head2} ^ 7 | | ${4:data} | ${5:data} | ${6:data} | 8 | | ${7:data} | ${8:data} | ${9:data} | 9 | | ${10:data} | ${11:data} | ${12:data} | 10 | 11 | name 12 | Table 13 | scope 14 | text.html.dokuwiki 15 | tabTrigger 16 | tab 17 | uuid 18 | 3B51612E-DC9E-4BD9-B1A5-69DE989265AE 19 | 20 | 21 | -------------------------------------------------------------------------------- /Preferences/Folding.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Folding 7 | scope 8 | text.html.dokuwiki 9 | settings 10 | 11 | foldingStartMarker 12 | (<(php|html|file|nowiki)>|<code(\s*.*)?>)|/\*\*|\{\s*$ 13 | foldingStopMarker 14 | (</(code|php|html|file|nowiki)>)|\*\*/|^\s*\} 15 | 16 | uuid 17 | AE5410CC-7AAD-461D-9E2D-3C9A5B493AE4 18 | 19 | 20 | -------------------------------------------------------------------------------- /Preferences/Show Heading in list.tmPreferences: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | name 6 | Show Heading in list 7 | scope 8 | markup.heading.dokuwiki 9 | settings 10 | 11 | showInSymbolList 12 | 1 13 | symbolTransformation 14 | 15 | s/^\s*==\s*([^=].*)(?<!=)={2,}\s*$/ $1/; 16 | s/^\s*===\s*([^=].*)(?<!=)={2,}\s*$/ $1/; 17 | s/^\s*====\s*([^=].*)(?<!=)={2,}\s*$/ $1/; 18 | s/^\s*=====\s*([^=].*)(?<!=)={2,}\s*$/ $1/; 19 | s/^\s*======+\s*([^=].*)(?<!=)={2,}\s*$/$1/; 20 | 21 | 22 | uuid 23 | 65F97C49-BBE9-447F-83EC-0A4598EF5558 24 | 25 | 26 | -------------------------------------------------------------------------------- /README.mdown: -------------------------------------------------------------------------------- 1 | # Installation 2 | 3 | You can install this bundle in TextMate by opening the preferences and going to the bundles tab. After installation it will be automatically updated for you. 4 | 5 | # General 6 | 7 | * [Bundle Styleguide](http://kb.textmate.org/bundle_styleguide) — _before you make changes_ 8 | * [Commit Styleguide](http://kb.textmate.org/commit_styleguide) — _before you send a pull request_ 9 | * [Writing Bug Reports](http://kb.textmate.org/writing_bug_reports) — _before you report an issue_ 10 | 11 | # License 12 | 13 | If not otherwise specified (see below), files in this repository fall under the following license: 14 | 15 | Permission to copy, use, modify, sell and distribute this 16 | software is granted. This software is provided "as is" without 17 | express or implied warranty, and with no claim as to its 18 | suitability for any purpose. 19 | 20 | An exception is made for files in readable text which contain their own license information, or files where an accompanying file exists (in the same directory) with a “-license” suffix added to the base-name name of the original file, and an extension of txt, html, or similar. For example “tidy” is accompanied by “tidy-license.txt”. -------------------------------------------------------------------------------- /info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | contactEmailRot13 6 | ebo.envagubecr@znp.pbz 7 | contactName 8 | Robert Rainthorpe 9 | description 10 | Supports basic syntax highlighting for the <a href="http://www.splitbrain.org/projects/dokuwiki">DokuWiki</a> syntax. Also includes a few useful snippets. 11 | mainMenu 12 | 13 | excludedItems 14 | 15 | 7E8E4E0B-B686-4256-947A-BD64888B7F78 16 | 655EC983-10E9-4ECD-924B-14B6E7E2023F 17 | 18 | items 19 | 20 | 76132630-5D14-4498-9338-D0F9522A3130 21 | 61AF74D7-AAD9-4206-BF17-B18B9EACCAA9 22 | 04B0A93A-E8E5-4516-A4A4-897362A43540 23 | ------------------------------------ 24 | F3CA2ACA-9CC5-4EF9-B93C-602D67763EFB 25 | 5F58856F-E66C-498D-A3AE-43C654A08745 26 | 3107697A-39C7-4EFF-B115-7F5ED98B31AC 27 | 83126C3C-4297-41C0-8DDF-EF542F4F4A4B 28 | ------------------------------------ 29 | 9DB42640-627B-4979-8345-16C842CBA83F 30 | 884B287D-23D9-45A9-ACF1-4F642008A516 31 | AD1E95A9-9255-496A-AFCE-7CA6AFBF4BA5 32 | 33 | submenus 34 | 35 | AD1E95A9-9255-496A-AFCE-7CA6AFBF4BA5 36 | 37 | items 38 | 39 | 43540858-1657-4ECC-BF3A-24EB3FE37F93 40 | D07A61C8-BB2F-4DF1-B376-C8124F215C8D 41 | 710E6F13-E35B-432C-A414-E9EE6F1C7B6F 42 | E4985429-C2A8-4B57-B51C-B56AAFB78397 43 | F41642D5-83E1-4F26-88AC-ACA934049E39 44 | 45 | name 46 | Headings 47 | 48 | 49 | 50 | name 51 | DokuWiki 52 | ordering 53 | 54 | 43540858-1657-4ECC-BF3A-24EB3FE37F93 55 | D07A61C8-BB2F-4DF1-B376-C8124F215C8D 56 | 710E6F13-E35B-432C-A414-E9EE6F1C7B6F 57 | E4985429-C2A8-4B57-B51C-B56AAFB78397 58 | F41642D5-83E1-4F26-88AC-ACA934049E39 59 | 9DB42640-627B-4979-8345-16C842CBA83F 60 | 884B287D-23D9-45A9-ACF1-4F642008A516 61 | 3107697A-39C7-4EFF-B115-7F5ED98B31AC 62 | 83126C3C-4297-41C0-8DDF-EF542F4F4A4B 63 | 76132630-5D14-4498-9338-D0F9522A3130 64 | 04B0A93A-E8E5-4516-A4A4-897362A43540 65 | 61AF74D7-AAD9-4206-BF17-B18B9EACCAA9 66 | F3CA2ACA-9CC5-4EF9-B93C-602D67763EFB 67 | 7E8E4E0B-B686-4256-947A-BD64888B7F78 68 | 5F58856F-E66C-498D-A3AE-43C654A08745 69 | 655EC983-10E9-4ECD-924B-14B6E7E2023F 70 | 65F97C49-BBE9-447F-83EC-0A4598EF5558 71 | B5C7FF05-8484-44B6-8343-BE44A9027261 72 | 862D8B02-501E-4205-9DA4-FB7CDA7AE3DA 73 | 3B51612E-DC9E-4BD9-B1A5-69DE989265AE 74 | FF3A19A1-E063-4026-9FDB-780F6616BB2A 75 | F8D115F4-6DC5-43B2-A591-2EF68DD7F421 76 | 26788F47-A936-42E1-A0D4-1860F1B3CC81 77 | 78 | uuid 79 | B896616C-21B2-4881-A539-F0F617D0375D 80 | 81 | 82 | -------------------------------------------------------------------------------- /Syntaxes/DokuWiki.tmLanguage: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | fileTypes 6 | 7 | firstLineMatch 8 | ^\s*={2,}(.*)={2,}\s*$ 9 | keyEquivalent 10 | ^~D 11 | name 12 | DokuWiki 13 | patterns 14 | 15 | 16 | include 17 | #php 18 | 19 | 20 | include 21 | #inline 22 | 23 | 24 | begin 25 | " 26 | beginCaptures 27 | 28 | 0 29 | 30 | name 31 | punctuation.definition.string.begin.dokuwiki 32 | 33 | 34 | end 35 | " 36 | endCaptures 37 | 38 | 0 39 | 40 | name 41 | punctuation.definition.string.end.dokuwiki 42 | 43 | 44 | name 45 | string.quoted.double.dokuwiki 46 | patterns 47 | 48 | 49 | match 50 | \\. 51 | name 52 | constant.character.escape.dokuwiki 53 | 54 | 55 | 56 | 57 | begin 58 | \(\( 59 | captures 60 | 61 | 0 62 | 63 | name 64 | punctuation.definition.comment.dokuwiki 65 | 66 | 67 | end 68 | \)\) 69 | name 70 | comment.block.documentation.dokuwiki 71 | 72 | 73 | captures 74 | 75 | 1 76 | 77 | name 78 | punctuation.definition.heading.dokuwiki 79 | 80 | 3 81 | 82 | name 83 | punctuation.definition.heading.dokuwiki 84 | 85 | 86 | match 87 | ^\s*(={2,})(.*)(={2,})\s*$\n? 88 | name 89 | markup.heading.dokuwiki 90 | 91 | 92 | match 93 | ~~NOTOC~~ 94 | name 95 | keyword.other.notoc.dokuwiki 96 | 97 | 98 | match 99 | ~~NOCACHE~~ 100 | name 101 | keyword.other.nocache.dokuwiki 102 | 103 | 104 | match 105 | ^\s*-{4,}\s*$ 106 | name 107 | meta.separator.dokuwiki 108 | 109 | 110 | match 111 | \\\\\s 112 | name 113 | markup.other.paragraph.dokuwiki 114 | 115 | 116 | begin 117 | ^((\t+)|( {2,}))(\*) 118 | captures 119 | 120 | 4 121 | 122 | name 123 | punctuation.definition.list_item.dokuwiki 124 | 125 | 126 | end 127 | $\n? 128 | name 129 | markup.list.unnumbered.dokuwiki 130 | patterns 131 | 132 | 133 | include 134 | #inline 135 | 136 | 137 | 138 | 139 | begin 140 | ^((\t+)|( {2,}))(-) 141 | captures 142 | 143 | 4 144 | 145 | name 146 | punctuation.definition.list_item.dokuwiki 147 | 148 | 149 | end 150 | $\n? 151 | name 152 | markup.list.numbered.dokuwiki 153 | patterns 154 | 155 | 156 | include 157 | #inline 158 | 159 | 160 | 161 | 162 | begin 163 | ^[|^] 164 | beginCaptures 165 | 166 | 0 167 | 168 | name 169 | punctuation.definition.table.dokuwiki 170 | 171 | 172 | end 173 | $ 174 | name 175 | markup.other.table.dokuwiki 176 | patterns 177 | 178 | 179 | include 180 | #inline 181 | 182 | 183 | 184 | 185 | begin 186 | (\<)(file|nowiki)(\>) 187 | captures 188 | 189 | 0 190 | 191 | name 192 | meta.tag.template.dokuwiki 193 | 194 | 1 195 | 196 | name 197 | punctuation.definition.tag.dokuwiki 198 | 199 | 2 200 | 201 | name 202 | entity.name.tag.dokuwiki 203 | 204 | 3 205 | 206 | name 207 | punctuation.definition.tag.dokuwiki 208 | 209 | 210 | end 211 | (<\/)(\2)(\>) 212 | name 213 | markup.raw.dokuwiki 214 | 215 | 216 | begin 217 | (%%|\'\') 218 | captures 219 | 220 | 0 221 | 222 | name 223 | punctuation.definition.raw.dokuwiki 224 | 225 | 226 | end 227 | \1 228 | name 229 | markup.raw.dokuwiki 230 | 231 | 232 | begin 233 | (<)(html)(>) 234 | captures 235 | 236 | 0 237 | 238 | name 239 | meta.tag.template.block.dokuwiki 240 | 241 | 1 242 | 243 | name 244 | punctuation.definition.tag.dokuwiki 245 | 246 | 2 247 | 248 | name 249 | entity.name.tag.dokuwiki 250 | 251 | 3 252 | 253 | name 254 | punctuation.definition.tag.dokuwiki 255 | 256 | 257 | end 258 | (</)(html)(>) 259 | patterns 260 | 261 | 262 | include 263 | text.html.basic 264 | 265 | 266 | 267 | 268 | match 269 | ^((\s\s)|(\t))[^\*\-].*$ 270 | name 271 | markup.raw.dokuwiki 272 | 273 | 274 | begin 275 | (\<)(sub|sup|del)(\>) 276 | captures 277 | 278 | 0 279 | 280 | name 281 | meta.tag.template.dokuwiki 282 | 283 | 1 284 | 285 | name 286 | punctuation.definition.tag.dokuwiki 287 | 288 | 2 289 | 290 | name 291 | entity.name.tag.dokuwiki 292 | 293 | 3 294 | 295 | name 296 | punctuation.definition.tag.dokuwiki 297 | 298 | 299 | end 300 | (\</)(\2)(\>) 301 | name 302 | markup.other.dokuwiki 303 | patterns 304 | 305 | 306 | include 307 | #inline 308 | 309 | 310 | 311 | 312 | begin 313 | (<)(code)(?:\s+[^>]*)?(>) 314 | captures 315 | 316 | 0 317 | 318 | name 319 | meta.tag.template.code.dokuwiki 320 | 321 | 1 322 | 323 | name 324 | punctuation.definition.tag.dokuwiki 325 | 326 | 2 327 | 328 | name 329 | entity.name.tag.dokuwiki 330 | 331 | 3 332 | 333 | name 334 | punctuation.definition.tag.dokuwiki 335 | 336 | 337 | end 338 | (</)(code)(>) 339 | name 340 | markup.raw.dokuwiki 341 | 342 | 343 | repository 344 | 345 | inline 346 | 347 | patterns 348 | 349 | 350 | begin 351 | \*\* 352 | captures 353 | 354 | 0 355 | 356 | name 357 | punctuation.definition.bold.dokuwiki 358 | 359 | 360 | end 361 | \*\* 362 | name 363 | markup.bold.dokuwiki 364 | patterns 365 | 366 | 367 | include 368 | #inline 369 | 370 | 371 | 372 | 373 | begin 374 | // 375 | captures 376 | 377 | 0 378 | 379 | name 380 | punctuation.definition.italic.dokuwiki 381 | 382 | 383 | end 384 | // 385 | name 386 | markup.italic.dokuwiki 387 | patterns 388 | 389 | 390 | include 391 | #inline 392 | 393 | 394 | 395 | 396 | begin 397 | __ 398 | captures 399 | 400 | 0 401 | 402 | name 403 | punctuation.definition.underline.dokuwiki 404 | 405 | 406 | end 407 | __ 408 | name 409 | markup.underline.dokuwiki 410 | patterns 411 | 412 | 413 | include 414 | #inline 415 | 416 | 417 | 418 | 419 | captures 420 | 421 | 1 422 | 423 | name 424 | punctuation.definition.image.dokuwiki 425 | 426 | 2 427 | 428 | name 429 | markup.underline.link.dokuwiki 430 | 431 | 3 432 | 433 | name 434 | punctuation.definition.image.dokuwiki 435 | 436 | 437 | match 438 | (\{\{)(.+?)(\}\}) 439 | name 440 | meta.image.inline.dokuwiki 441 | 442 | 443 | captures 444 | 445 | 1 446 | 447 | name 448 | punctuation.definition.link.dokuwiki 449 | 450 | 2 451 | 452 | name 453 | markup.underline.link.dokuwiki 454 | 455 | 3 456 | 457 | name 458 | punctuation.definition.link.dokuwiki 459 | 460 | 461 | match 462 | (\[\[)(.*?)(\]\]) 463 | name 464 | meta.link.dokuwiki 465 | 466 | 467 | captures 468 | 469 | 1 470 | 471 | name 472 | punctuation.definition.link.dokuwiki 473 | 474 | 2 475 | 476 | name 477 | markup.underline.link.interwiki.dokuwiki 478 | 479 | 3 480 | 481 | name 482 | punctuation.definition.link.dokuwiki 483 | 484 | 485 | match 486 | (\[\[)([^\[\]]+\>[^|\]]+)(\]\]) 487 | 488 | 489 | captures 490 | 491 | 1 492 | 493 | name 494 | markup.underline.link.dokuwiki 495 | 496 | 497 | match 498 | ((https?|telnet|gopher|wais|ftp|ed2k|irc)://[\w/\#~:.?+=&%@!\-;,]+?(?=[.:?\-;,]*[^\w/\#~:.?+=&%@!\-;,])) 499 | 500 | 501 | captures 502 | 503 | 1 504 | 505 | name 506 | punctuation.definition.link.dokuwiki 507 | 508 | 2 509 | 510 | name 511 | markup.underline.link.dokuwiki 512 | 513 | 3 514 | 515 | name 516 | punctuation.definition.link.dokuwiki 517 | 518 | 519 | match 520 | (<)([\w0-9\-_.]+?@[\w\-]+\.[\w\-\.]+\.*[\w]+)(\>) 521 | name 522 | meta.link.email.dokuwiki 523 | 524 | 525 | 526 | php 527 | 528 | patterns 529 | 530 | 531 | begin 532 | (^\s*)?(?=<php>) 533 | beginCaptures 534 | 535 | 1 536 | 537 | name 538 | punctuation.whitespace.embedded.leading.dokuwiki 539 | 540 | 541 | contentName 542 | meta.embedded.block.php 543 | end 544 | (?<=</php>)(?!<php>)(\s*$\n?) 545 | endCaptures 546 | 547 | 1 548 | 549 | name 550 | punctuation.whitespace.embedded.trailing.dokuwiki 551 | 552 | 553 | patterns 554 | 555 | 556 | begin 557 | ((<)(php)(>)) 558 | beginCaptures 559 | 560 | 0 561 | 562 | name 563 | punctuation.definition.embedded.begin.dokuwiki 564 | 565 | 1 566 | 567 | name 568 | meta.tag.template.dokuwiki 569 | 570 | 2 571 | 572 | name 573 | punctuation.definition.tag.dokuwiki 574 | 575 | 3 576 | 577 | name 578 | entity.name.tag.dokuwiki 579 | 580 | 4 581 | 582 | name 583 | punctuation.definition.tag.dokuwiki 584 | 585 | 586 | contentName 587 | source.php 588 | end 589 | (((</))(php)(>)) 590 | endCaptures 591 | 592 | 0 593 | 594 | name 595 | punctuation.definition.embedded.end.dokuwiki 596 | 597 | 1 598 | 599 | name 600 | meta.tag.template.dokuwiki 601 | 602 | 2 603 | 604 | name 605 | punctuation.definition.tag.dokuwiki 606 | 607 | 3 608 | 609 | name 610 | source.php 611 | 612 | 4 613 | 614 | name 615 | entity.name.tag.dokuwiki 616 | 617 | 5 618 | 619 | name 620 | punctuation.definition.tag.dokuwiki 621 | 622 | 623 | patterns 624 | 625 | 626 | include 627 | text.html.php#language 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | scopeName 637 | text.html.dokuwiki 638 | uuid 639 | 862D8B02-501E-4205-9DA4-FB7CDA7AE3DA 640 | 641 | 642 | --------------------------------------------------------------------------------