User Tools

Site Tools


en: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
en:wiki:syntax [2018/09/23 15:56]
bahnfrank65
en:wiki:syntax [2018/09/23 17:12]
bahnfrank65
Line 137: Line 137:
 Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?​200x50}} Resize to given width and height((when the aspect ratio of the given width and height doesn'​t match that of the image, it will be cropped to the new ratio before resizing)): {{wiki:​dokuwiki-128.png?​200x50}}
  
-Resized external image: ​          {{https://secure.php.net/​images/​php.gif?​200x50}}+Resized external image: ​          {{http://​php.net/​images/​php.gif?​200x50}}
  
   Real size:                        {{wiki:​dokuwiki-128.png}}   Real size:                        {{wiki:​dokuwiki-128.png}}
   Resize to given width: ​           {{wiki:​dokuwiki-128.png?​50}}   Resize to given width: ​           {{wiki:​dokuwiki-128.png?​50}}
   Resize to given width and height: {{wiki:​dokuwiki-128.png?​200x50}}   Resize to given width and height: {{wiki:​dokuwiki-128.png?​200x50}}
-  Resized external image: ​          {{https://secure.php.net/​images/​php.gif?​200x50}}+  Resized external image: ​          {{http://​php.net/​images/​php.gif?​200x50}}
  
  
Line 417: Line 417:
 </​code>​ </​code>​
  
-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// +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//
- +
-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 ====
Line 436: Line 434:
  
 If you don't want any highlighting but want a downloadable file, specify a dash (''​-''​) as the language code: ''​%%<​code - myfile.foo>​%%''​. If you don't want any highlighting but want a downloadable file, specify a dash (''​-''​) as the language code: ''​%%<​code - myfile.foo>​%%''​.
- 
  
 ===== Embedding HTML and PHP ===== ===== Embedding HTML and PHP =====
Line 506: Line 503:
 **Example:​** **Example:​**
  
-  {{rss>​http://​slashdot.org/​index.rss 5 author date 1h }} 
- 
-{{rss>​http://​slashdot.org/​index.rss 5 author date 1h }} 
- 
- 
-===== Control Macros ===== 
- 
-Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: 
- 
-^ Macro           ^ Description | 
-| %%~~NOTOC~~%% ​  | If this macro is found on the page, no table of contents will be created | 
-| %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%<​php>​%% syntax above is used), adding this macro will force DokuWiki to rerender a page on every call | 
- 
-===== Syntax Plugins ===== 
- 
-DokuWiki'​s syntax can be extended by [[doku>​plugins|Plugins]]. How the installed plugins are used is described on their appropriate description pages. The following syntax plugins are available in this particular DokuWiki installation:​ 
  
-~~INFO:​syntaxplugins~~ 
  
en/wiki/syntax.txt · Last modified: 2018/09/23 17:17 by bahnfrank65