wiki:syntax
اختلافات
عرض الاختلافات بين النسخة المختارة و النسخة الحالية من الصفحة.
جانبي المراجعة السابقةالمراجعة السابقة | المراجعة الأخيرةجانبي المراجعة التالية | ||
wiki:syntax [2022/11/07 12:53] – mhsabbagh | wiki:syntax [2022/11/07 12:54] – mhsabbagh | ||
---|---|---|---|
سطر 1: | سطر 1: | ||
====== دليل التنسيق ====== | ====== دليل التنسيق ====== | ||
- | ====== | + | 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 page. The simpler markup is easily accessible via quickbuttons , too. |
===== Basic Text Formatting ===== | ===== Basic Text Formatting ===== | ||
سطر 12: | سطر 12: | ||
</ | </ | ||
- | You can use < | + | You can use < |
< | < | ||
You can use < | You can use < | ||
سطر 26: | سطر 26: | ||
**Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | **Paragraphs** are created from blank lines. If you want to **force a newline** without a paragraph, you can use two backslashes followed by a whitespace or the end of line. | ||
- | This is some text with some \linebreaks | + | This is some text with some \linebreaks Note that the two backslashes are only recognized at the end of a \line or followed \by a whitespace \\this happens without it. |
- | Note that the two backslashes are only recognized at the end of a \line | + | |
- | or followed \by | + | |
- | a whitespace \\this happens without it. | + | |
< | < | ||
سطر 65: | سطر 62: | ||
</ | </ | ||
- | [[doku> | + | [[doku>www.dokuwiki.org/ |
You can use [[: | You can use [[: | ||
سطر 86: | سطر 83: | ||
* Links to [[: | * Links to [[: | ||
- | * DokuWiki does not use [[wp> | + | * DokuWiki does not use [[wp>en.wikipedia.org/ |
* When a section' | * When a section' | ||
سطر 142: | سطر 139: | ||
===== Footnotes ===== | ===== Footnotes ===== | ||
- | You can add footnotes ((This is a footnote)) | + | You can add footnotes ((This is a footnote)) |
< | < | ||
سطر 172: | سطر 169: | ||
===== Media Files ===== | ===== Media Files ===== | ||
- | You can include external and internal [[doku> | + | You can include external and internal [[doku>www.dokuwiki.org/ |
Real size: [[https:// | Real size: [[https:// | ||
سطر 180: | سطر 177: | ||
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: [[https:// |
< | < | ||
سطر 234: | سطر 231: | ||
</ | </ | ||
- | {{https:// | + | {{https:// |
==== Fallback Formats ==== | ==== Fallback Formats ==== | ||
سطر 254: | سطر 251: | ||
Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
+ | |||
* This is a list | * This is a list | ||
* The second item | * The second item | ||
سطر 277: | سطر 275: | ||
</ | </ | ||
- | Also take a look at the [[doku> | + | Also take a look at the [[doku>www.dokuwiki.org/ |
===== Text Conversions ===== | ===== Text Conversions ===== | ||
سطر 289: | سطر 287: | ||
DokuWiki converts commonly used [[wp> | DokuWiki converts commonly used [[wp> | ||
- | * 8-) < | + | * 8-) < |
- | * 8-O < | + | * 8-O < |
- | * :-( < | + | * :-( < |
- | * :-) < | + | * :-) < |
- | * =) < | + | * =) < |
- | * :-/ < | + | * :-/ < |
- | * :-" class= | + | * :-" class= < |
- | * :-? < | + | * :-? < |
- | * :-D < | + | * :-D < |
- | * :-P < | + | * :-P < |
- | * :-O < | + | * :-O < |
- | * :-X < | + | * :-X < |
- | * :-| < | + | * :-| < |
- | *;-) < | + | *;-) < |
- | * ^_^ < | + | * ^_^ < |
- | * m( < | + | * m( < |
- | * :?: < | + | * :?: < |
- | * :!: < | + | * :!: < |
- | * LOL < | + | * LOL < |
- | * FIXME < | + | * FIXME < |
- | * DELETEME | + | * DELETEME < |
==== Text to HTML Conversions ==== | ==== Text to HTML Conversions ==== | ||
سطر 323: | سطر 321: | ||
</ | </ | ||
- | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>www.dokuwiki.org/ |
There are three exceptions which do not come from that pattern file: multiplication entity (640×480), ' | There are three exceptions which do not come from that pattern file: multiplication entity (640×480), ' | ||
سطر 332: | سطر 330: | ||
< | < | ||
- | I think we should do it | + | I think we should do it> No we shouldn' |
- | > No we shouldn' | + | |
>> Well, I say we should | >> Well, I say we should | ||
سطر 366: | سطر 363: | ||
|Row 3 Col 1 |Row 3 Col 2 |Row 3 Col 3 | | |Row 3 Col 1 |Row 3 Col 2 |Row 3 Col 3 | | ||
- | Table rows have to start and end with a '''' | + | Table rows have to start and end with a | for normal rows or a ^ for headers. |
< | < | ||
سطر 433: | سطر 430: | ||
===== No Formatting ===== | ===== No Formatting ===== | ||
- | If you need to display text exactly like it is typed (without any formatting), | + | If you need to display text exactly like it is typed (without any formatting), |
< | < | ||
سطر 447: | سطر 444: | ||
===== Code Blocks ===== | ===== Code Blocks ===== | ||
- | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' | + | You can include code blocks into your documents by either indenting them by at least two spaces (like used for the previous examples) or by using the tags '' |
- | < | + | '' |
- | This is text is indented by two spaces. | + | |
- | + | ||
- | </ | + | |
< | < | ||
سطر 480: | سطر 474: | ||
< | < | ||
- | |||
This is pretty much the same, but you could use it to show that you quoted a file. | This is pretty much the same, but you could use it to show that you quoted a file. | ||
سطر 499: | سطر 492: | ||
} | } | ||
} | } | ||
+ | |||
</ | </ | ||
سطر 508: | سطر 502: | ||
==== Downloadable Code Blocks ==== | ==== Downloadable Code Blocks ==== | ||
- | When you use the '' | + | When you use the '' |
< | < | ||
+ | '' | ||
- | <file php myexample.php> | + | '' |
- | <?php echo " | + | |
- | </ | + | '' |
- | </ | + | </ |
<file php myexample.php> | <file php myexample.php> | ||
<?php echo "hello world!"; | <?php echo "hello world!"; | ||
+ | |||
</ | </ | ||
سطر 571: | سطر 566: | ||
|author | |author | ||
|date |show item dates| | |date |show item dates| | ||
- | |description|show the item description. If [[doku> | + | |description|show the item description. If [[doku>www.dokuwiki.org/ |
|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).| | ||
سطر 598: | سطر 593: | ||
===== Syntax Plugins ===== | ===== Syntax Plugins ===== | ||
- | DokuWiki' | + | DokuWiki' |
~~INFO: | ~~INFO: |
wiki/syntax.txt · آخر تعديل: 2024/03/12 19:44 بواسطة 127.0.0.1