差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| wiki:syntax [2008/09/13 00:54] – nakayama | wiki:syntax [2025/02/28 02:41] (現在) – 外部編集 非ログインユーザー | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ====== | + | ====== |
| - | 文章の整形を行うには、シンプルなマークアップ記法を用います。 | + | [[doku>DokuWiki]] |
| - | [[DokuWiki]] | + | |
| - | 画面の上部か下部にある //編集// ボタンをクリックすると、ページのソースを見ることができます。 | + | |
| - | このページでは、編集にあたって利用できる記法をすべて説明します。 | + | |
| - | ためしに編集をしてみたい場合には、 | + | |
| - | 主な記法は、[[doku>ja: | + | |
| - | rafael | + | ===== Basic Text Formatting ===== |
| - | ===== 基本的なテキスト整形 ===== | + | DokuWiki supports **bold**, //italic//, __underlined__ and '' |
| - | 文字飾りとして | + | DokuWiki supports |
| - | もちろん | + | Of course you can **__//'' |
| - | 文字飾りとして **太字**、 | + | You can use < |
| - | もちろん **__//'' | + | |
| - | さらに | + | You can use <sub>subscript</ |
| - | さらに | + | You can mark something as <del>deleted</del> as well. |
| - | <del>取り消し線</ | + | You can mark something as <del>deleted</ |
| - | < | + | **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\\ Note that the |
| - | 段落内で **強制的に改行** するには、バックスラッシュ(日本語環境では円記号¥) | + | two backslashes are only recognized at the end of a line\\ |
| - | を 2 つ連ねた後に空白文字を置くか改行します。 | + | or followed by\\ a whitespace \\this happens without it. |
| - | この文は改行\\ を含んでいます。2 連バックスラッシュが | + | 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 |
| - | この文は改行\\ を含んでいます。2 連バックスラッシュが | + | You should use forced newlines only if really needed. |
| - | 改行として処理されるのは、空白文字が続く\\ か行の最後\\ | + | |
| - | にある場合だけで、\\それ以外はそのまま表示されます。 | + | |
| - | 強制改行は、どうしても必要な場合だけ使ってください。 | + | ===== Links ===== |
| - | ===== リンク ===== | + | DokuWiki supports multiple ways of creating links. |
| - | リンクの記述には様々な方法があります。 | + | ==== External ==== |
| - | ==== 外部リンク ==== | + | External links are recognized automagically: |
| - | http:// | + | DokuWiki supports multiple ways of creating links. External links are recognized |
| - | 外部リンクとして自動的に認識されます。表題を指定して、 | + | automagically: |
| - | [[http:// | + | link text as well: [[http:// |
| - | メールアドレスも、不等号で括ると、 | + | |
| - | http:// | + | ==== Internal ==== |
| - | 外部リンクとして自動的に認識されます。表題を指定して、 | + | |
| - | [[http:// | + | |
| - | メールアドレスも、不等号で括ると、 < | + | |
| - | ==== 内部リンク ==== | + | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. |
| - | この DokuWiki 内のページへのリンクには 2 連角カッコを使います。ページ名そのままで | + | Internal links are created by using square brackets. You can either just give |
| - | [[doku>pagename]] | + | |
| - | ページ名は自動的に小文字に変換されます。特殊文字は使えません。 | + | |
| - | この DokuWiki 内のページへのリンクには 2 連角カッコを使います。ページ名そのままで | + | [[doku> |
| - | [[doku> | + | |
| - | ページ名は自動的に小文字に変換されます。特殊文字は使えません。 | + | |
| - | ページ名をコロンで区切ると | + | You can use [[some:namespaces]] |
| - | | + | |
| - | 詳細は | + | For details about namespaces see [[doku> |
| - | ページ中の特定のセクションにリンクすることも可能です。ハッシュ記号(# | + | Linking to a specific section is possible, too. Just add the section name behind a hash character as known from HTML. This links to [[syntax#internal|this Section]]. |
| - | [[syntax#内部リンク|このセクション]] へのリンクです。 | + | |
| - | [[syntax#内部リンク|このセクション]] へのリンクです。 | + | |
| - | 注: | + | Notes: |
| - | * [[syntax|既存のページ]] へのリンクと | + | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. |
| - | * デフォルト設定では | + | * DokuWiki does not use [[wp> |
| - | * セクションの見出しが変更されると、そこへのリンク名も変化します。セクションへのリンクは多用しないほうが良いでしょう。 | + | * When a section' |
| ==== Interwiki ==== | ==== Interwiki ==== | ||
| - | [[doku>interwiki|Interwiki]] | + | DokuWiki supports |
| - | InterWikiは、他の Wiki に手軽にリンクを張るための方法です。たとえば、 | + | |
| - | [[wp> | + | |
| - | [[doku>interwiki|Interwiki]] | + | |
| - | InterWikiは、他の Wiki に手軽にリンクを張るための方法です。たとえば、 | + | |
| - | [[wp> | + | |
| - | ==== Windows共有フォルダ | + | ==== Windows |
| - | Windows | + | Windows |
| - | ただし、[[wp> | + | |
| - | Windows | + | Windows |
| - | 注: | + | Notes: |
| - | + | ||
| - | * セキュリティ上、Windows 共有フォルダを直接ブラウズできるのは、デフォルトでは Microsoft Internet Explorer(の「ローカルゾーン」)のみに限られます。 | + | |
| - | * 推奨はしませんが、Mozilla や Firefox では設定オプションの [[http:// | + | |
| - | * 詳しくは [[bug> | + | |
| + | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer per default (and only in the "local zone" | ||
| + | * For Mozilla and Firefox it can be enabled through different workaround mentioned in the [[http:// | ||
| + | <?php | ||
| + | /** | ||
| + | * Customization of the english language file | ||
| + | * Copy only the strings that needs to be modified | ||
| + | */ | ||
| + | $lang[' | ||
| + | </ | ||
| + | ==== Image Links ==== | ||
| - | ==== 画像にリンク ==== | + | You can also use an image to link to another internal or external page by combining the syntax for links and [[# |
| - | リンク記法と | + | |
| - | 次のように、画像に内外部へのリンクをつけることができます。 | + | |
| - | [[http://www.php.net|{{wiki: | + | [[http:// |
| - | [[http://www.php.net|{{wiki: | + | Please note: The image formatting is the only formatting syntax accepted in link names. |
| - | 注: リンクの表題については、この画像以外の整形記法は使えません。 | + | The whole [[#images_and_other_files|image]] and [[#links|link]] syntax is supported (including image resizing, internal and external images and URLs and interwiki |
| - | [[#画像やその他のファイル|画像]] と [[#リンク|リンク]] の記法はすべてサポートされます | + | |
| - | (画像のサイズ変更や、内外部イメージ、URL 指定や | + | |
| - | ===== 脚注 | + | ===== Footnotes |
| - | 脚注 | + | You can add footnotes |
| - | | + | |
| - | ===== セクション見出し | + | ===== Sectioning |
| - | 最大 5 つのレベルまでの見出しを使って、文章の構造化を行えます。 | + | You can use up to five different levels of headlines to structure your content. If you have more than three headlines, a table of contents is generated automatically -- this can be disabled by including the string |
| - | 3 つ以上の見出しを記述すると、目次が自動的に生成されます。 | + | |
| - | 文書中に | + | |
| - | 目次の生成を止めることができます。 | + | |
| - | ==== 第 3 見出し | + | ==== Headline Level 3 ==== |
| - | === 第 4 見出し | + | === Headline Level 4 === |
| - | == 第 5 見出し | + | == Headline Level 5 == |
| - | ==== 第 3 見出し | + | ==== Headline Level 3 ==== |
| - | === 第 4 見出し | + | === Headline Level 4 === |
| - | == 第 5 見出し | + | == Headline Level 5 == |
| - | ダッシュ (-) を四つ以上続けると、水平線が書けます。 | + | By using four or more dashes, you can make a horizontal line: |
| ---- | ---- | ||
| + | ===== Media Files ===== | ||
| - | ===== 画像やその他のファイル ===== | + | You can include external and internal [[doku> |
| - | 波カッコを使って、[[doku> | + | Real size: {{wiki: |
| - | 実サイズ: {{wiki: | + | Resize to given width: {{wiki: |
| - | 幅を変更: {{wiki: | + | Resize to given width and height((when the aspect ratio of the given width and height doesn' |
| - | 幅と高さを変更: {{wiki:dokuwiki-128.png?200x50}} | + | Resized external image: {{https://www.php.net/ |
| - | 外部イメージのサイズを変更: | + | Real size: {{wiki: |
| + | Resize to given width: | ||
| + | Resize to given width and height: {{wiki: | ||
| + | Resized external image: {{https://www.php.net/ | ||
| - | 実サイズ: | ||
| - | 幅を変更: | ||
| - | 幅と高さを変更: | ||
| - | 外部イメージのサイズを変更: | ||
| - | + | By using left or right whitespaces you can choose the alignment. | |
| - | 左右にスペース文字を記述すると、配置位置を指定できます。 | + | |
| {{ wiki: | {{ wiki: | ||
| 行 177: | 行 157: | ||
| {{ wiki: | {{ wiki: | ||
| - | さらに、タイトルも指定できます(ほとんどのブラウザで、ツールチップで表示されます)。 | + | Of course, you can add a title (displayed as a tooltip by most browsers), too. |
| - | {{ wiki: | + | {{ wiki: |
| - | {{ wiki: | + | {{ wiki: |
| - | 画像 ('' | + | For linking an image to another page see [[#Image Links]] above. |
| - | 画像を他のページへのリンクとするには、上記の [[# | + | ==== Supported Media Formats ==== |
| - | ===== リスト ===== | + | DokuWiki can embed the following media formats directly. |
| - | リスト(番号付き・番号無し)を利用できます。行頭にスペースを 2 つ連ねた後に、'' | + | | Image | '' |
| + | | Video | '' | ||
| + | | Audio | '' | ||
| + | | Flash | '' | ||
| - | * リストです | + | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. |
| - | * 2番目の要素です | + | |
| - | * 入れ子にもできます | + | |
| - | * 次の要素です | + | |
| - | | + | By adding ''? |
| - | - 次の要素です | + | |
| - | - 入れ子にするにはインデントを深くします | + | {{wiki: |
| - | - 以上です | + | |
| + | {{wiki: | ||
| + | |||
| + | ==== 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 '' | ||
| + | |||
| + | Additionally DokuWiki supports a " | ||
| + | |||
| + | ===== Lists ===== | ||
| + | |||
| + | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | ||
| + | |||
| + | * This is a list | ||
| + | * The second item | ||
| + | * You may have different levels | ||
| + | * Another item | ||
| + | |||
| + | | ||
| + | - Another item | ||
| + | - Just use indention for deeper levels | ||
| + | - That's it | ||
| < | < | ||
| - | * リストです | + | * This is a list |
| - | * 2番目の要素です | + | * The second item |
| - | * 入れ子にもできます | + | * You may have different levels |
| - | * 次の要素です | + | * Another item |
| - | - 番号付きリストです | + | - The same list but ordered |
| - | - 次の要素です | + | - Another item |
| - | - 入れ子にするにはインデントを深くします | + | - Just use indention for deeper levels |
| - | - 以上です | + | - That's it |
| </ | </ | ||
| - | ===== スマイリー | + | Also take a look at the [[doku> |
| + | |||
| + | ===== Text Conversions | ||
| + | |||
| + | DokuWiki can convert certain pre-defined characters or strings into images or other text or HTML. | ||
| + | |||
| + | The text to image conversion is mainly done for smileys. And the text to HTML conversion is used for typography replacements, | ||
| + | |||
| + | ==== Text to Image Conversions | ||
| - | [[wp> | + | DokuWiki converts commonly used [[wp> |
| - | 使用できるスマイリーは次のとおりです。 | + | |
| * 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
| 行 233: | 行 247: | ||
| * ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
| * ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
| + | * m( %% m( %% | ||
| * :?: %% :?: %% | * :?: %% :?: %% | ||
| * :!: %% :!: %% | * :!: %% :!: %% | ||
| 行 239: | 行 254: | ||
| * DELETEME %% DELETEME %% | * 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) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
| 行 251: | 行 266: | ||
| </ | </ | ||
| - | 注: [[doku> | + | The same can be done to produce any kind of HTML, it just needs to be added to the [[doku> |
| - | ===== 引用 ===== | + | There are three exceptions which do not come from that pattern file: multiplication entity (640x480), ' |
| - | ある文が、返信であったり、コメントであるということを表現したい場合もあります。その場合、次の記法を使います。 | + | ===== 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' |
| - | >> | + | >> |
| - | > ほんとに? | + | > Really? |
| - | >> | + | >> |
| - | >>> | + | >>> |
| + | </ | ||
| + | I think we should do it | ||
| - | ===== 表 ===== | + | > No we shouldn' |
| - | 簡単な記法で表を作成できます。 | + | >> Well, I say we should |
| - | ^ 見出し 1 ^ 見出し 2 ^ 見出し 3 ^ | + | > Really? |
| - | | 行 1 列 1 | 行 1 列 2 | 行 1 列 3 | | + | |
| - | | 行 2 列 1 | 列の結合 (後の縦線が2つであることに注意) || | + | |
| - | | 行 3 列 1 | 行 2 列 2 | 行 2 列 3 | | + | |
| - | 表の各行は通常 | + | >> Yes! |
| - | ^ 見出し 1 ^ 見出し 2 ^ 見出し 3 ^ | + | >>> |
| - | | 行 1 列 1 | 行 1 列 2 | 行 1 列 3 | | + | |
| - | | 行 2 列 1 | 列の結合 (後の縦線が2つであることに注意) || | + | |
| - | | 行 3 列 1 | 行 2 列 2 | 行 2 列 3 | | + | |
| - | セルを水平に結合するには、上記のように、後のセルの中身を完全に無しにします。 | + | ===== Tables ===== |
| - | セルの区切りとなる縦線やハット記号は、どの行も同じ数だけ必要ですので注意してください。 | + | |
| - | 列見出しも可能です。 | + | DokuWiki supports a simple syntax to create tables. |
| + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| - | | | + | Table rows have to start and end with a '' |
| - | ^ 見出し 3 | 行 1 列 2 | 行 1 列 3 | | + | |
| - | ^ 見出し 4 | 列の結合は今回は無し | | | + | |
| - | ^ 見出し 5 | 行 2 列 2 | 行 2 列 3 | | + | |
| - | つまり、セルの前にある区切りの記号によって、様式が変化します。 | + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ |
| + | | Row 1 Col 1 | Row 1 Col 2 | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | some colspan (note the double pipe) || | ||
| + | | Row 3 Col 1 | Row 3 Col 2 | Row 3 Col 3 | | ||
| - | | ^ 見出し 1 ^ 見出し 2 ^ | + | To connect cells horizontally, |
| - | ^ 見出し 3 | 行 1 列 2 | 行 1 列 3 | | + | |
| - | ^ 見出し 4 | 列の結合は今回は無し | | | + | |
| - | ^ 見出し 5 | 行 2 列 2 | 行 2 列 3 | | + | |
| - | 注: 縦方向の結合 (行の結合) はできません。 | + | Vertical tableheaders are possible, too. |
| - | 表の内容の配置を指定できます。2個以上のスペースをテキストの反対側に置きます。 | + | | ^ Heading 1 ^ Heading |
| - | つまり、右揃えにするには左側に2個のスペースを、左揃えにするには右側に2個のスペースを置きます。 | + | ^ Heading 3 | Row 1 Col 2 | Row 1 Col 3 | |
| - | 中央揃えにするにはテキストの両側に2個以上のスペースを置きます。 | + | ^ Heading 4 | no colspan this time | | |
| + | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
| - | ^ 配置を指定した表 | + | As you can see, it's the cell separator before a cell which decides about the formatting: |
| - | | 右| | + | |
| - | |左 | + | | ^ Heading 1 |
| + | | ||
| + | ^ Heading 4 | ||
| + | ^ Heading 5 | Row 2 Col 2 | Row 2 Col 3 | | ||
| + | |||
| + | You can have rowspans (vertically connected cells) by adding '' | ||
| + | |||
| + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | ||
| + | | Row 2 Col 1 | ||
| + | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
| + | |||
| + | Apart from the rowspan syntax those cells should not contain anything else. | ||
| + | |||
| + | ^ Heading 1 ^ Heading 2 ^ Heading 3 ^ | ||
| + | | Row 1 Col 1 | this cell spans vertically | Row 1 Col 3 | | ||
| + | | Row 2 Col 1 | ::: | Row 2 Col 3 | | ||
| + | | Row 3 Col 1 | ::: | Row 2 Col 3 | | ||
| + | |||
| + | You can align the table contents, too. Just add at least two whitespaces at the opposite end of your text: Add two spaces on the left to align right, two spaces on the right to align left and two spaces at least at both ends for centered text. | ||
| + | |||
| + | ^ Table with alignment | ||
| + | | | ||
| + | |left | | ||
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | 上記のソースは次のようになります。 | + | This is how it looks in the source: |
| - | ^ | + | ^ Table with alignment |
| - | | 右| | + | | right| |
| - | |左 | + | |left |
| | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | | xxxxxxxxxxxx | xxxxxxxxxxxx | xxxxxxxxxxxx | | ||
| - | ===== 整形されないブロック | + | Note: Vertical alignment is not supported. |
| + | |||
| + | ===== No Formatting | ||
| + | |||
| + | If you need to display text exactly like it is typed (without any formatting), | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | < | ||
| + | This is some text which contains addresses like this: http:// | ||
| + | </ | ||
| + | The same is true for %%// | ||
| + | |||
| + | ===== 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 '' | ||
| - | 整形が行われないブロックを記述することができます。2 つ以上のスペースでインデントする(前記の例を参照)か、'' | + | This is text is indented by two spaces. |
| < | < | ||
| - | 整形済みのコードです。スペースの数が次のように保持されます。例、 <- ここ | + | This is preformatted code all spaces are preserved: like |
| </ | </ | ||
| < | < | ||
| - | 同様ですが、ファイルの内容を示すときに使います。 | + | This is pretty much the same, but you could use it to show that you quoted a file. |
| </ | </ | ||
| - | ある範囲に対して整形を完全に行わないようにするには、その範囲を '' | + | Those blocks were created by this source: |
| - | <nowiki> | + | This is text is indented by two spaces. |
| - | たとえば、アドレスを http:// | + | |
| - | </nowiki> | + | |
| + | This is preformatted code all spaces are preserved: like <-this | ||
| + | </code> | ||
| - | これらのブロックの使用については、このページのソースを見ると良いでしょう。 | + | < |
| + | This is pretty much the same, but you could use it to show that you quoted a file. | ||
| + | </ | ||
| - | ===== 構文のハイライト ===== | + | ==== Syntax Highlighting |
| - | ソースコードの構文をハイライト表示して、読みやすくすることができます。[[http:// | + | [[wiki: |
| <code java> | <code java> | ||
| - | /** | + | /** |
| * The HelloWorldApp class implements an application that | * The HelloWorldApp class implements an application that | ||
| * simply displays "Hello World!" | * simply displays "Hello World!" | ||
| 行 370: | 行 418: | ||
| </ | </ | ||
| - | 現在のところ、次の言語がサポートされています。// | + | The following language strings are currently recognized: |
| - | ===== RSS/ATOM フィードの取り込み ===== | + | There are additional |
| - | [[DokuWiki]]は外部のXMLフィードからのデータを統合できます。XMLフィードの解析には [[http:// | + | |
| - | ^ パラメータ | + | |
| - | | 数字 | + | |
| - | | reverse | + | |
| - | | author | + | |
| - | | date | 日付を表示する。 | | + | |
| - | | description | 概要を表示する。 含まれる全てのHTMLタグは無効になります。 | | + | |
| - | | 数字[dhm] | + | |
| - | 更新間隔のデフォルトは4時間です。10分未満の値は10分として扱われます。通常[[DokuWiki]]はページのキャッシュされたバージョンを提供しようとしますので、動的な外部の内容を含めるのは明らかに不適当です。ページが最後に描画されてから// | + | ==== Downloadable Code Blocks ==== |
| - | **例:** | + | When you use the '' |
| - | {{rss>http:// | + | <code> |
| + | <file php myexample.php> | ||
| + | <?php echo "hello world!"; | ||
| + | </file> | ||
| + | </ | ||
| - | {{rss>http:// | + | <file php myexample.php> |
| + | <?php echo "hello world!"; | ||
| + | </file> | ||
| + | If you don't want any highlighting but want a downloadable file, specify a dash ('' | ||
| - | ===== HTML や PHP の埋込み | + | ===== RSS/ATOM Feed Aggregation |
| + | [[DokuWiki]] can integrate data from external XML feeds. For parsing the XML feeds, [[http:// | ||
| - | HTML や PHP のコードを文書内に埋め込むことができます。'' | + | ^ Parameter |
| - | < | + | | any number | will be used as maximum number items to show, defaults to 8 | |
| - | < | + | | reverse |
| - | This is some <font color=" | + | | author |
| - | </ | + | | date | show item dates | |
| - | </code> | + | | description| show the item description. All HTML tags will be stripped | |
| + | | nosort | ||
| + | | //n//[dhm] | refresh period, where d=days, h=hours, m=minutes. (e.g. 12h = 12 hours). | | ||
| - | < | + | The refresh period defaults to 4 hours. Any value below 10 minutes will be treated as 10 minutes. [[wiki: |
| - | This is some <font color=" | + | |
| - | </html> | + | |
| - | < | + | By default the feed will be sorted |
| - | < | + | |
| - | echo 'A logo generated | + | |
| - | echo '<img src="' | + | |
| - | </ | + | |
| - | </ | + | |
| - | < | + | **Example:** |
| - | echo 'A logo generated by PHP:'; | + | |
| - | echo '< | + | |
| - | </ | + | |
| - | **注**: HTML と PHP の埋込みは、デフォルトの設定では無効になっており、コードは実行されず、そのまま表示されます。 | + | {{rss> |
| - | ===== 記法のプラグイン ===== | + | {{rss> |
| - | DokuWiki の記法は、 [[doku> | ||
| + | ===== Control Macros ===== | ||
| - | ~~INFO:syntaxplugins~~ | + | Some syntax influences how DokuWiki renders a page without creating any output it self. The following control macros are availble: |
| + | ^ Macro ^ Description | | ||
| + | | %%~~NOTOC~~%% | ||
| + | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | ||
| + | |||
| + | ===== Syntax Plugins ===== | ||
| + | |||
| + | DokuWiki' | ||
| + | |||
| + | ~~INFO: | ||