wiki:syntax
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| wiki:syntax [2021/05/30 03:15] – ADD links to DokuWiki JMichaelTX | wiki:syntax [2025/09/09 19:14] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| [[doku> | [[doku> | ||
| - | |||
| - | ===== DokuWiki Full Syntax ===== | ||
| - | See [DokuWiki Formatting Syntax Reference Page](https:// | ||
| ===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
| Line 32: | Line 29: | ||
| You should use forced newlines only if really needed. | You should use forced newlines only if really needed. | ||
| - | |||
| - | ===== Lists ===== | ||
| - | ==== DokuWiki List Ref ==== | ||
| - | See [Working with Lists -- DokuWiki Reference](https:// | ||
| - | |||
| - | ==== Mixing Numbered and Bullet Items ==== | ||
| - | |||
| - | |||
| - | **How To Mix Unordered (Bullet) Items with Ordered (Numbered) Items in a List** | ||
| - | |||
| - | 1. Use a dash, `-`, for the numbered items | ||
| - | 2. Use an asterisk, `*`, for the bullet items | ||
| - | 3. The List Title must immediately precede the list. | ||
| - | |||
| - | This Markdown Text: | ||
| - | |||
| - | List Title Goes Here | ||
| - | - First numbered item | ||
| - | - Second numbered item | ||
| - | * First sub-bullet item | ||
| - | * Second sub-bullet item | ||
| - | - Third numbered item | ||
| - | |||
| - | Results in This Rendered Text: | ||
| - | |||
| - | List Title Goes Here | ||
| - | - First numbered item | ||
| - | - Second numbered item | ||
| - | * First sub-bullet item | ||
| - | * Second sub-bullet item | ||
| - | - Third numbered item | ||
| - | |||
| - | |||
| ===== Links ===== | ===== Links ===== | ||
| Line 94: | Line 58: | ||
| For details about namespaces see [[doku> | For details about namespaces see [[doku> | ||
| - | === Links to Sections on a Page === | + | Linking |
| + | This links to [[syntax# | ||
| - | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML.\\ | + | Notes: |
| - | This, `[[syntax# | + | |
| - | + | ||
| - | If you want to link to a section on the page being edited, just use the `# | + | |
| - | This, `[[# | + | |
| - | **Notes**: | + | |
| - | - You can get the _Internal Link_ by either of these methods: | + | |
| - | * Click on the link in the _Table of Contents_ to go to that link, and then view the link in the browser' | + | |
| - | * Right-Click on the link in the _Table of Contents_, select _copy link_, and then view the _System Clipboard_. | + | |
| - | - Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | |
| - | | + | |
| - | | + | |
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| Line 180: | Line 137: | ||
| Resize to given width and height((when the aspect ratio of the given width and height doesn' | Resize to given width and height((when the aspect ratio of the given width and height doesn' | ||
| - | Resized external image: | + | Resized external image: |
| Real size: {{wiki: | Real size: {{wiki: | ||
| Resize to given width: | Resize to given width: | ||
| Resize to given width and height: {{wiki: | Resize to given width and height: {{wiki: | ||
| - | Resized external image: | + | Resized external image: |
| Line 290: | Line 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| Line 460: | Line 418: | ||
| </ | </ | ||
| - | 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 c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d 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 q 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// | + | 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 c cpp cpp-qt cpp-winapi csharp css cuesheet c_winapi dart dcl dcpu16 dcs delphi diff div dos dot d 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 q racket rails rbs rebol reg rexx robots |
| There are additional [[doku> | There are additional [[doku> | ||
| Line 479: | Line 437: | ||
| If you don't want any highlighting but want a downloadable file, specify a dash ('' | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | |||
| - | |||
| - | ===== Embedding HTML and PHP ===== | ||
| - | |||
| - | You can embed raw HTML or PHP code into your documents by using the '' | ||
| - | |||
| - | HTML example: | ||
| - | |||
| - | < | ||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | < | ||
| - | This is some <span style=" | ||
| - | </ | ||
| - | < | ||
| - | <p style=" | ||
| - | </ | ||
| - | |||
| - | PHP example: | ||
| - | |||
| - | < | ||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (generated inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | </ | ||
| - | |||
| - | <php> | ||
| - | echo 'The PHP version: '; | ||
| - | echo phpversion(); | ||
| - | echo ' (inline HTML)'; | ||
| - | </ | ||
| - | <PHP> | ||
| - | echo '< | ||
| - | echo '< | ||
| - | echo '</ | ||
| - | </ | ||
| - | |||
| - | **Please Note**: HTML and PHP embedding is disabled by default in the configuration. If disabled, the code is displayed instead of executed. | ||
| ===== RSS/ATOM Feed Aggregation ===== | ===== RSS/ATOM Feed Aggregation ===== | ||
| Line 539: | Line 446: | ||
| | author | | author | ||
| | date | show item dates | | | date | show item dates | | ||
| - | | description| show the item description. | + | | description| show the item description. |
| | nosort | | nosort | ||
| | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
wiki/syntax.1622344510.txt.gz · Last modified: by JMichaelTX
