Currently this package provides syntax highlighting for DokuWiki syntax and a bunch of useful snippets (open the Command Palette and type “Snippet” to see a list), and also lists the heading structure of a DokuWiki file in the Goto Anywhere symbol list (Ctrl-R, or Cmd-R on Mac). Some convenient key bindings also automatically insert a new list item when you hit Enter.
If you aren't seeing syntax highlighting, chances are you're using a color scheme that doesn't include syntax highlighting for markup. Try another color scheme and you might have better luck.
Files with a .docuwiki extension are automatically opened in DokuWiki syntax mode. Otherwise, you can select DokuWiki syntax manually (from the Command Palette, from the syntax list at the bottom-right of the Sublime Text 2 window, or from the View > Syntax menu).
名称 | 快捷键 |
---|---|
Blod | @b,tab |
Code | code,tab |
Footnote | fn,tab |
Image | img,tab |
Italic | @i,tab |
Link | link,tab |
Table | tab,tab |
Table Cell | |,tab |
Top Header | ^,tab |
Underlined | @u,tab |
Html | html,tab |
Heading 1 | h1,tab |
Heading 2 | h2,tab |
Heading 3 | h3,tab |
Heading 4 | h4,tab |
Heading 5 | h5,tab |
Left Header | lh,tab |
Numbered list | nu,tab |
Unnumbered list | nu,tab |
Lorem ipsum | lorem,tab |