User Tools

Site Tools


wiki:syntax

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:syntax [2018/04/14 19:56]
JMichaelTX
wiki:syntax [2021/05/29 21:05]
JMichaelTX ADD info about Internal Links
Line 1: Line 1:
-====== ​Markdown ​Syntax ​for Wiki ======+====== ​Formatting ​Syntax ======
  
-[[doku>​DokuWiki]] ​(system used by the Keyboard Maestro Wiki) supports some simple markup language, which tries to make the pages to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:​playground|playground]] page. [[#​Keyboard_Shortcuts|Keyboard shortcuts]] are available for most formatting commands.+[[doku>​DokuWiki]] supports some simple markup language, which tries to make the datafiles ​to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing "Edit this page". If you want to try something, just use the [[playground:​playground|playground]] page. The simpler markup is easily accessible via [[doku>​toolbar|quickbuttons]], too.
  
 ===== Basic Text Formatting ===== ===== Basic Text Formatting =====
Line 52: Line 52:
 [[doku>​pagename|Wiki pagenames]] are converted to lowercase automatically,​ special characters are not allowed. [[doku>​pagename|Wiki pagenames]] are converted to lowercase automatically,​ special characters are not allowed.
  
-==== Keyboard Shortcuts ====+You can use [[some:​namespaces]] by using a colon in the pagename.
  
-For the Mac, use `CTRL + OPT + <​key>​`+  You can use [[some:​namespaces]] by using a colon in the pagename.
  
-**General Keys**\\ +For details about namespaces see [[doku>​namespaces]].
-These keys are always available in DokuWiki.+
  
-^ Key   ^ Function ​                                    ^ +=== Links to Sections on a Page ===
-| ''​E''​ | opens the current page in edit mode          | +
-| ''​V''​ | opens the current page in view mode (if Button "View Pagesource"​ is displayed)| +
-| ''​O''​ | shows the old revisions of the current page  | +
-| ''​R''​ | shows the recent changes ​                    | +
-| ''​F''​ | sets the cursor ​to the search field          | +
-| ''​H''​ | opens the startpage ​                         | +
-| ''​X''​ | opens the index page                         | +
-| ''​T''​ | moves back to top of the page                |+
  
-**Toolbar Button Shortcuts** 
  
-^ Button ​                                                                ^ Key         ^ Function ​                                                             ^ +Linking to a specific section is possible, tooJust add the section name behind a hash character as known from HTML.\\ 
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​bold.png?​nolink}} ​       |  ''​**b**'' ​ | Bold formatting ​                                                      | +This, `[[syntax#​internal|this Section]]`, links to [[syntax#​internal|this Section]].
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​italic.png?​nolink}} ​     |  ''​**i**'' ​ | Italic formatting ​                                                    | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​underline.png?​nolink}} ​  ​| ​ ''​**u**'' ​ | Underlined formatting ​                                                | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​mono.png?​nolink}} ​       |  ''​**c**'' ​ | Code formatting ​                                                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​strike.png?​nolink}} ​     |  ''​**d**'' ​ | Strike-through formatting ​                                            | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​hequal.png?​nolink}} ​     |  ''​**8**'' ​ | Same level headline ​                                                  | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​hminus.png?​nolink}} ​     |  ''​**9**'' ​ | Lower headline ​                                                       | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​hplus.png?​nolink}} ​      ​| ​ ''​**0**'' ​ | Higher headline ​                                                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h.png?​nolink}} ​          ​| ​            | Select headline ​                                                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h1.png?​nolink}} ​         |  ''​**1**'' ​ | Level 1 headline (via '​Select headline'​ button) ​                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h2.png?​nolink}} ​         |  ''​**2**'' ​ | Level 2 headline (via '​Select headline'​ button) ​                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h3.png?​nolink}} ​         |  ''​**3**'' ​ | Level 3 headline (via '​Select headline'​ button) ​                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h4.png?​nolink}} ​         |  ''​**4**'' ​ | Level 4 headline (via '​Select headline'​ button) ​                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​h5.png?​nolink}} ​         |  ''​**5**'' ​ | Level 5 headline (via '​Select headline'​ button) ​                      | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​link.png?​nolink}} ​       |  ''​**l**'' ​ | Internal link formatting (launches ​the Link Wizard) ​                  | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​linkextern.png?​nolink}} ​ |             | External link formatting ​                                             | +
- ​{{http://​www.dokuwiki.org/​lib/​images/​toolbar/​ol.png?​nolink}} ​         |  ''​**-**'' ​ | Ordered list item                                                     | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​ul.png?​nolink}} ​         |  ''​**.**'' ​ | Unordered list item                                                   | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​hr.png?​nolink}} ​         |             | Horizontal rule                                                       | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​image.png?​nolink}} ​      ​| ​            ​| ​[[media manager|Media Selection, includes file/​attachment uploader]]  | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​smiley.png?​nolink}} ​     |             | Smiley picker ​                                                        | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​chars.png?​nolink}} ​      ​| ​            | Character picker ​                                                     | +
-|  {{http://​www.dokuwiki.org/​lib/​images/​toolbar/​sig.png?​nolink}} ​        ​| ​ ''​**y**'' ​ | Signature (only when logged in)                                       |+
  
----+If you want to link to a section on the page being edited, just use the `#​InternalLink` on that page:\\ 
 +This, `[[#​internal|Link to Internal on this page]]` creates this [[#​internal|Link to Internal on this page]].
  
-==== NameSpaces ====+**Notes**:
  
 +  1. You can get the _Internal Link_ by either of these methods:
 +    1. Click on the link in the _Table of Contents_ to go to that link, and then view the link in the browser'​s address bar.
 +    1. Right-Click on the link in the _Table of Contents_, select _copy link_, and then view the _System Clipboard_.
 +  1. Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones.
 +  1. DokuWiki does not use [[wp>​CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>​config]] file. Hint: If DokuWiki is a link, then it's enabled.
 +  1. When a section'​s heading is changed, its bookmark changes, too. So don't rely on section linking too much.
  
-You can use [[some:​namespaces]] by using a colon in the pagename. 
- 
-  You can use [[some:​namespaces]] by using a colon in the pagename. 
- 
-For details about namespaces see [[doku>​namespaces]]. 
- 
-Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#​internal|this Section]]. 
- 
-  This links to [[syntax#​internal|this Section]]. 
- 
-Notes: 
- 
-  * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. 
-  * DokuWiki does not use [[wp>​CamelCase]] to automatically create links by default, but this behavior can be enabled in the [[doku>​config]] file. Hint: If DokuWiki is a link, then it's enabled. 
-  * When a section'​s heading is changed, its bookmark changes, too. So don't rely on section linking too much. 
  
 ==== Interwiki ==== ==== Interwiki ====
Line 466: Line 426:
 </​code>​ </​code>​
  
-The following language strings are currently recognized: //4cs6502acme6502kickass6502tasm68000devpacabapactionscript-french, actionscript,​ actionscript3, ​adaalgol68apacheapplescriptasmaspautoconfautohotkeyautoitavisynthawkbascomavrbashbasic4glbfbibtexblitzbasicbnfboo, c, c_loadrunner,​ c_mac, ​caddclcadlispcfdgcfmchaiscriptcilclojurecmakecobolcoffeescriptcppcpp-qtcsharpcsscuesheet, d, dcsdelphidiffdivdosdot, e, epc, ecmascripteiffelemailerlangeuphoriaf1falconfofortranfreebasicfsharpgambasgenerogenie, gdb, glslgmlgnuplotgogroovy, gettext, ​gwbasichaskellhicesthq9plushtmlhtml5iconidliniinnointercalio, j, java5javajavascriptjquerykixtartklonecklonecpplatexlblispllvmlocobasiclogtalklolcodelotusformulaslotusscriptlscriptlsl2luam68kmagiksfmakemapbasicmatlabmircmodula2modula3, mmix, mpasmmxmlmysqlnewlispnsisoberon2objcobjeckocaml-briefocamloobasoracle8, oracle11, ​oxygeneozpascalpcreperl, perl6, ​perpfphp-briefphppike, pic16, ​pixelbenderpliplsqlpostgresqlpovraypowerbuilderpowershellproftpdprogressprologpropertiesprovidexpurebasicpyconpythonq, qbasic, ​railsrebolregrobotsrpmspecrsplusrubysasscalaschemescilabsdlbasicsmalltalksmartysqlsystemverilogtclteratermtextthinbasictsqltyposcriptuniconuscriptvalavbnetvbverilogvhdlvimvisualfoxprovisualprologwhitespacewinbatch, whois, ​xbasicxmlxorg_confxppyamlz80zxbasic//+The following language strings are currently recognized: //4cs 6502acme 6502kickass 6502tasm 68000devpac abap actionscript3 ​actionscript ada aimms algol68 apache applescript ​apt_sources arm asm asp asymptote ​autoconf autohotkey autoit avisynth awk bascomavr bash basic4gl ​batch bf biblatex ​bibtex blitzbasic bnf boo caddcl cadlisp ​ceylon ​cfdg cfm chaiscript ​chapel ​cil c_loadrunner ​clojure ​c_mac cmake cobol coffeescript ​cpp cpp-qt ​cpp-winapi ​csharp css cuesheet ​c_winapi dart dcl dcpu16 ​dcs delphi diff div dos dot ecmascript eiffel email epc e erlang euphoria ​ezt f1 falcon fo fortran freebasic ​freeswitch ​fsharp gambas ​gdb genero genie gettext ​glsl gml gnuplot go groovy gwbasic haskell ​haxe hicest hq9plus html html4strict ​html5 icon idl ini inno intercal io ispfpanel ​java5 java javascript ​jcl j jquery ​julia kixtart klonec klonecpp ​kotlin ​latex lb ldif lisp llvm locobasic logtalk lolcode lotusformulas lotusscript lscript lsl2 lua m68k magiksf make mapbasic ​mathematica ​matlab ​mercury metapost ​mirc mk-61 mmix modula2 modula3 mpasm mxml mysql nagios netrexx ​newlisp ​nginx nimrod ​nsis oberon2 objc objeck ocaml-brief ocaml octave ​oobas oorexx oracle11 ​oracle8 oxygene oz parasail parigp ​pascal pcre perl6 perl per pf phix php-brief php pic16 pike pixelbender pli plsql postgresql ​postscript ​povray powerbuilder powershell proftpd progress prolog properties providex purebasic pycon pys60 python ​qbasic qml racket ​rails rbs rebol reg rexx robots rpmspec rsplus ruby rust sas sass scala scheme scilab ​scl sdlbasic smalltalk smarty ​spark sparql ​sql standardml stonescript swift systemverilog ​tclegg ​tcl teraterm ​texgraph ​text thinbasic tsql twig typoscript unicon ​upc urbi uscript vala vbnet vb vbscript vedit verilog vhdl vim visualfoxpro visualprolog whitespace ​whois winbatch xbasic xml xojo xorg_conf xpp yaml z80 zxbasic// 
 + 
 +There are additional [[doku>​syntax_highlighting|advanced options]] available for syntax highlighting,​ such as highlighting lines or adding line numbers.
  
 ==== Downloadable Code Blocks ==== ==== Downloadable Code Blocks ====
wiki/syntax.txt · Last modified: 2021/07/14 01:16 by peternlewis