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 [2016/02/07 18:12]
vedavrata [Supported Media Formats]
wiki:syntax [2016/02/07 18:12]
vedavrata [Quoting]
Line 5: Line 5:
  
  
-===== Footnotes ===== 
- 
-You can add footnotes ((This is a footnote)) by using double parentheses. 
- 
-  You can add footnotes ((This is a footnote)) by using double parentheses. 
- 
- 
- 
- 
- 
-==== Fallback Formats ==== 
- 
-Unfortunately not all browsers understand all video and audio formats. To mitigate the problem, you can upload your file in different formats for maximum browser compatibility. 
- 
-For example consider this embedded mp4 video: 
- 
-  {{video.mp4|A funny video}} 
- 
-When you upload a ''​video.webm''​ and ''​video.ogv''​ next to the referenced ''​video.mp4'',​ DokuWiki will automatically add them as alternatives so that one of the three files is understood by your browser. 
- 
-Additionally DokuWiki supports a "​poster"​ image which will be shown before the video has started. That image needs to have the same filename as the video and be either a jpg or png file. In the example above a ''​video.jpg''​ file would work. 
  
  
Line 34: Line 13:
 The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements,​ but can be configured to use other HTML as well. The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements,​ but can be configured to use other HTML as well.
  
-==== Text to Image Conversions ==== 
- 
-DokuWiki converts commonly used [[wp>​emoticon]]s to their graphical equivalents. Those [[doku>​Smileys]] and other images can be configured and extended. Here is an overview of Smileys included in DokuWiki: 
- 
-  * 8-) %%  8-)  %% 
-  * 8-O %%  8-O  %% 
-  * :-( %%  :-(  %% 
-  * :-) %%  :-)  %% 
-  * =)  %%  =)   %% 
-  * :-/ %%  :-/  %% 
-  * :-\ %%  :-\  %% 
-  * :-? %%  :-?  %% 
-  * :-D %%  :-D  %% 
-  * :-P %%  :-P  %% 
-  * :-O %%  :-O  %% 
-  * :-X %%  :-X  %% 
-  * :-| %%  :-|  %% 
-  * ;-) %%  ;-)  %% 
-  * ^_^ %%  ^_^  %% 
-  * :?: %%  :?:  %% 
-  * :!: %%  :!:  %% 
-  * LOL %%  LOL  %% 
-  * FIXME %%  FIXME %% 
-  * DELETEME %% DELETEME %% 
- 
-==== Text to HTML Conversions ==== 
- 
-Typography: [[DokuWiki]] can convert simple text characters to their typographically correct entities. Here is an example of recognized characters. 
- 
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) 
-"He thought '​It'​s a man's world'​..."​ 
- 
-<​code>​ 
--> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) 
-"He thought '​It'​s a man's world'​..."​ 
-</​code>​ 
- 
-The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>​entities|pattern file]]. 
- 
-There are three exceptions which do not come from that pattern file: multiplication entity (640x480), '​single'​ and "​double quotes"​. They can be turned off through a [[doku>​config:​typography|config option]]. 
- 
-===== Quoting ===== 
- 
-Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: 
- 
-  I think we should do it 
-  ​ 
-  > No we shouldn'​t 
-  ​ 
-  >> Well, I say we should 
-  ​ 
-  > Really? 
-  ​ 
-  >> Yes! 
-  ​ 
-  >>>​ Then lets do it! 
- 
-I think we should do it 
- 
-> No we shouldn'​t 
- 
->> Well, I say we should 
- 
-> Really? 
  
->> Yes! 
  
->>>​ Then lets do it! 
  
 ===== Tables ===== ===== Tables =====
wiki/syntax.txt · Last modified: 2019/04/01 18:57 (external edit)
GNU Free Documentation License 1.3
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5