DokuWiki

It's better when it's simple

User Tools

Site Tools


playground:playground

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
playground:playground [2020-06-24 22:54] Tali64playground:playground [2024-04-12 15:14] (current) – [Table] 142.113.214.18
Line 1: Line 1:
-====== Playground ======+== Basic text formatting == 
 +You can format the page using Wikitext special characters. 
 + 
 +{| border="1" cellpadding="2" cellspacing="0" 
 +!width="1000"|What it looks like 
 +!width="500"|What you type 
 +|- 
 +
 +You can ''italicize'' text by putting 2  
 +apostrophes on ''each'' side.  
 + 
 +3 apostrophes will '''bold''' the text.  
 + 
 + 
 +5 apostrophes will '''''bold and italicize'''''  
 +the text. 
 + 
 +(Using 4 apostrophes doesn't do anything 
 +special -- <br /> 3 of them '''bold''' the text as 
 +usual; the others are ''''just'''' apostrophes  
 +around the text.) 
 + 
 +
 +You can ''italicize'' text by putting 2  
 +apostrophes on ''each'' side.  
 + 
 +3 apostrophes will '''bold''' the text.  
 + 
 +5 apostrophes will '''''bold and italicize'''''  
 +the text. 
 + 
 +(Using 4 apostrophes doesn't do anything 
 +special -- <br /> 3 of them '''bold''' the text as 
 +usual; the others are ''''just'''' apostrophes  
 +around the text.) 
 +</syntaxhighlight> 
 +|- 
 +
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page). 
 + 
 +But an empty line 
 +starts a new paragraph. 
 + 
 +When used in a list, a newline ''does'' affect the layout ([[#lists|see below]]). 
 +|<syntaxhighlight lang=wikitext> 
 +A single newline 
 +generally has no effect on the layout. 
 +These can be used to separate 
 +sentences within a paragraph. 
 +Some editors find that this aids editing 
 +and improves the ''diff'' function 
 +(used internally to compare 
 +different versions of a page). 
 + 
 +But an empty line 
 +starts a new paragraph. 
 + 
 +When used in a list, a newline ''does'' 
 +affect the layout ([[#lists|see below]]). 
 +</syntaxhighlight> 
 +|- 
 +
 +You can break lines<br/> 
 +without a new paragraph.<br/> 
 +Please use this sparingly. 
 + 
 +Please do not start a link or ''italics'' or '''bold''' text on one line and end on the next. 
 +|<syntaxhighlight lang=wikitext> 
 +You can break lines<br/> 
 +without a new paragraph.<br/> 
 +Please use this sparingly. 
 + 
 +Please do not start a link or 
 +''italics'' or '''bold''' text on one line 
 +and end on the next. 
 +</syntaxhighlight> 
 +|- 
 + 
 +|You should "sign" your comments on talk pages: <br/> 
 +<div class="mw-notalk"> 
 +* Three tildes gives your signature: [[User:Example|Example]] <br/> 
 +* Four tildes give your signature plus date/time: [[User:Example|Example]] 07:46, 27 November 2005 (UTC) <br/> 
 +* Five tildes gives the date/time alone: 07:46, 27 November 2005 (UTC) <br/> 
 +</div> 
 +|<syntaxhighlight lang=wikitext> 
 + You should "sign" your comments  
 + on talk pages: 
 + * Three tildes gives your 
 + signature: ~~~ 
 + * Four tildes give your  
 + signature plus date/time: ~~~~ 
 + * Five tildes gives the  
 + date/time alone: ~~~~~ 
 +</syntaxhighlight> 
 +|}
  
-^ Python ^ JS ^ %%PHP%% ^ 
-| Общий заголовок ||| 
-| <code python>print("Hello, World!") 
-</code> | <code javascript><script> 
-  alert( 'Hello, World!' ); 
-</script> 
-А в доку вики можно сделать горизонтальный скролл страницы (чтобы по ширине кодовые блоки не сворачивались), или нет? </code> | <code php><?php  
-    echo "Hello, World!"; 
-?> 
-</code> | 
playground/playground.1593032056.txt.gz · Last modified: 2020-06-24 22:54 by Tali64

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki