wiki:syntax_copy
差分
このページの2つのバージョン間の差分を表示します。
次のリビジョン | 前のリビジョン | ||
wiki:syntax_copy [2025/07/01 21:38] – 作成 183.76.155.232 | wiki:syntax_copy [2025/07/02 00:18] (現在) – 183.76.155.232 | ||
---|---|---|---|
行 1: | 行 1: | ||
- | ====== | + | ====== |
+ | 文章の整形を行うには、シンプルなマークアップ記法を用います。 | ||
+ | [[doku> | ||
+ | 画面の上部か下部にある //編集// ボタンをクリックすると、ページのソースを見ることができます。 | ||
+ | このページでは、編集にあたって利用できる記法をすべて説明します。 | ||
+ | ためしに編集をしてみたい場合には、 [[playground: | ||
+ | 主な記法は、[[doku> | ||
- | [[doku> | + | ===== 基本的なテキスト整形 ===== |
- | ===== Basic Text Formatting ===== | + | 文字飾りとして **太字**、 // |
+ | もちろん **__//'' | ||
- | DokuWiki supports | + | 文字飾りとして |
+ | もちろん | ||
- | DokuWiki supports **bold**, | + | さらに < |
- | Of course you can **__//'' | + | |
- | You can use <sub>subscript</ | + | さらに |
- | You can use <sub>subscript</sub> and < | + | <del>取り消し線</del> も利用できます。 |
- | You can mark something as <del>deleted</ | + | |
- | You can mark something as < | + | 空行をおくと、**段落** となります。 |
+ | 段落内で **強制的に改行** するには、バックスラッシュ(日本語環境では円記号¥)を 2 つ連ねた後に空白文字を置くか改行します。 | ||
- | **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. | + | この文は改行\\ を含んでいます。2 連バックスラッシュが改行として処理されるのは、空白文字が続く\\ か行の最後\\ |
+ | にある場合だけで、\\それ以外はそのまま表示されます。 | ||
- | This is some text with some linebreaks\\ Note that the | + | この文は改行\\ を含んでいます。2 連バックスラッシュが |
- | two backslashes are only recognized at the end of a line\\ | + | |
- | or followed by\\ a whitespace | + | にある場合だけで、\\それ以外はそのまま表示されます。 |
- | 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. | + | |
- | You should use forced newlines only if really needed. | + | 注: |
- | ===== Links ===== | + | * 改行に関して、プラグインによりEnterキーを押すだけで出来るようになりました。上記の記法は不要です。 |
- | DokuWiki supports multiple ways of creating links. | + | ===== リンク ===== |
- | ==== External ==== | + | リンクの記述には様々な方法があります。 |
- | External links are recognized automagically: | + | ==== 外部リンク ==== |
- | DokuWiki supports multiple ways of creating links. External links are recognized | + | http:// |
- | automagically: | + | 表題を指定して、[[http:// |
- | link text as well: [[http:// | + | メールアドレスも、不等号で括ると、 |
- | | + | |
- | ==== Internal ==== | + | http:// |
+ | 外部リンクとして自動的に認識されます。表題を指定して、 | ||
+ | [[http:// | ||
+ | メールアドレスも、不等号で括ると、 < | ||
- | Internal links are created by using square brackets. You can either just give a [[pagename]] or use an additional [[pagename|link text]]. | + | ==== 内部リンク ==== |
- | Internal links are created by using square brackets. You can either just give | + | この DokuWiki 内のページへのリンクには 2 連角カッコを使います。 |
- | | + | ページ名そのままで[[pagename]] |
- | [[doku>pagename|Wiki pagenames]] are converted to lowercase automatically, | + | この DokuWiki 内のページへのリンクには 2 連角カッコを使います。ページ名そのままで |
+ | [[pagename]] とするか、[[pagename|表題]] を指定します。 | ||
- | You can use [[some: | + | [[doku> |
- | You can use [[some: | + | ページ名をコロンで区切ると |
- | For details about namespaces see [[doku>namespaces]]. | + | ページ名をコロンで区切ると |
- | 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# | + | 詳細は |
- | This links to [[syntax# | + | ページ中の特定のセクションにリンクすることも可能です。 |
+ | ハッシュ記号(# | ||
+ | [[syntax# | ||
+ | | ||
- | Notes: | + | 注: |
- | * Links to [[syntax|existing pages]] are shown in a different style from [[nonexisting]] ones. | + | * [[syntax|既存のページ]] へのリンクと |
- | * DokuWiki does not use [[wp> | + | * デフォルト設定では |
- | * When a section' | + | * セクションの見出しが変更されると、そこへのリンク名も変化します。セクションへのリンクは多用しないほうが良いでしょう。 |
==== Interwiki ==== | ==== Interwiki ==== | ||
- | DokuWiki supports | + | [[doku>Interwiki|Interwiki]] |
+ | InterWikiは、他の Wiki に手軽にリンクを張るための方法です。 | ||
+ | たとえば、[[wp> | ||
- | | + | [[doku> |
- | | + | |
+ | たとえば、[[wp> | ||
- | ==== Windows | + | ==== Windows共有フォルダ |
- | Windows | + | Windows |
+ | ただし、[[wp> | ||
- | Windows | + | Windows |
- | Notes: | + | 注: |
- | * For security reasons direct browsing of windows shares only works in Microsoft Internet Explorer | + | * セキュリティ上、Windows 共有フォルダを直接ブラウズできるのは、デフォルトでは |
- | * For Mozilla | + | * Mozilla |
+ | ]]と有効にすることができます。しかし、Windows Shareを開こうとするとJavaScriptの警告が表示されます。この警告を(すべてのユーザーに対して)取り除くには、以下の行を'' | ||
<?php | <?php | ||
/** | /** | ||
- | | + | |
- | | + | |
*/ | */ | ||
$lang[' | $lang[' | ||
</ | </ | ||
- | ==== Image Links ==== | + | ==== 画像にリンク |
- | You can also use an image to link to another internal or external page by combining the syntax for links and [[#images_and_other_files|images]] (see below) like this: | + | リンク記法と |
- | | + | [[http:// |
[[http:// | [[http:// | ||
- | Please note: The image formatting is the only formatting syntax accepted in link names. | + | 注: リンクの表題については、この画像以外の整形記法は使えません。 |
+ | [[# | ||
+ | (画像のサイズ変更や、内外部イメージ、URL 指定や interwiki リンクなど)。 | ||
- | The whole [[# | + | ===== 脚注 ===== |
- | ===== Footnotes ===== | + | 脚注 ((これが脚注です)) には、2 連の丸カッコを用います。 |
- | You can add footnotes | + | 脚注 |
- | You can add footnotes ((This is a footnote)) by using double parentheses. | + | ===== セクション見出し ===== |
- | ===== Sectioning ===== | + | 最大 5 つのレベルまでの見出しを使って、文章の構造化を行えます。 |
+ | 3 つ以上の見出しを記述すると、目次が自動的に生成されます。 | ||
+ | 文書中に ''< | ||
- | 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 見出し ==== |
+ | === 第 4 見出し === | ||
+ | == 第 5 見出し == | ||
- | ==== Headline Level 3 ==== | + | |
- | === Headline Level 4 === | + | === 第 4 見出し |
- | == Headline Level 5 == | + | == 第 5 見出し |
- | | + | ===== 水平線 |
- | === Headline Level 4 === | + | |
- | == Headline Level 5 == | + | |
- | By using four or more dashes, you can make a horizontal line: | + | ダッシュ (-) を四つ以上続けると、水平線が書けます。 |
---- | ---- | ||
- | ===== Media Files ===== | ||
- | You can include external and internal [[doku> | + | ===== 画像やその他のファイル ===== |
- | Real size: {{wiki: | + | 波カッコを使って、[[doku> |
+ | オプションで、画像サイズも指定できます。 | ||
- | Resize to given width: {{wiki: | + | 実サイズ: |
- | Resize to given width and height((when the aspect ratio of the given width and height doesn' | + | 幅を変更: |
- | Resized external image: {{https://www.php.net/ | + | 幅と高さを変更((画像のアスペクト比と指定された幅と高さの比が異なる場合は、リサイズされる前に新しいアスペクト比に切り抜かれます。)): {{wiki:dokuwiki-128.png?200x50}} |
- | Real size: | + | 外部イメージのサイズを変更: {{https:// |
- | Resize to given width: | + | |
- | Resize to given width and height: {{wiki: | + | |
- | Resized external image: {{https:// | + | |
+ | 実サイズ: | ||
+ | 幅を変更: | ||
+ | 幅と高さを変更: | ||
+ | 外部イメージのサイズを変更: | ||
- | By using left or right whitespaces you can choose the alignment. | + | 左右にスペース文字を記述すると、配置位置を指定できます。 |
{{ wiki: | {{ wiki: | ||
行 157: | 行 180: | ||
{{ 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. | + | ==== サポートされるメディア形式 ===== |
- | | Image | '' | + | DokuWikiでは、以下のメディア形式を直接埋め込むことができます。 |
- | | Video | '' | + | |
- | | Audio | '' | + | |
- | | Flash | '' | + | |
- | If you specify a filename that is not a supported media format, then it will be displayed as a link instead. | + | | 画像 | '' |
+ | | 動画 | '' | ||
+ | | 音声 | '' | ||
+ | | フラッシュ | '' | ||
- | By adding | + | サポートされていないメディア形式を指定した場合、代わりにリンクとして表示されます。 |
+ | |||
+ | ''? | ||
{{wiki: | {{wiki: | ||
- | {{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.mp4|A funny video}} | + | {{video.mp4|面白いビデオ}} |
- | When you upload a '' | + | 参照されている |
- | Additionally | + | さらにDokuWikiは、動画が始まる前に表示される「ポスター」画像をサポートしています。 |
+ | この画像はビデオと同じファイル名で、jpgまたはpngファイルである必要があります。 | ||
+ | 上記の例では、'' | ||
- | ===== Lists ===== | + | ===== リスト |
- | Dokuwiki supports ordered and unordered lists. To create a list item, indent your text by two spaces and use a '' | + | リスト(番号付き・番号無し)を利用できます。行頭にスペースを 2 つ連ねた後に、'' |
- | * This is a list | + | * リストです |
- | * The second item | + | * 2番目の要素です |
- | * You may have different levels | + | * 入れ子にもできます |
- | * Another item | + | * 次の要素です |
- | - The same list but ordered | + | - 番号付きリストです |
- | - Another item | + | - 次の要素です |
- | - Just use indention for deeper levels | + | - 入れ子にするにはインデントを深くします |
- | - That's it | + | - 以上です |
< | < | ||
- | * This is a list | + | * リストです |
- | * The second item | + | * 2番目の要素です |
- | * 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> | + | [[doku> |
- | ===== Text Conversions | + | ===== テキストの変換 |
- | DokuWiki | + | DokuWiki |
+ | テキストから画像への変換機能は、主にスマイリーで使用されます。 | ||
+ | テキストから HTML への変換機能は記号の変換に使用されますが、他の 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 ==== | + | DokuWiki |
- | + | このような[[doku>smileys|スマイリー]]や他の画像は、独自の設定で拡張することもできます。 | |
- | DokuWiki | + | 標準で使用できるスマイリーは以下の通りです。 |
* 8-) %% 8-) %% | * 8-) %% 8-) %% | ||
行 247: | 行 277: | ||
* ;-) %% ;-) %% | * ;-) %% ;-) %% | ||
* ^_^ %% ^_^ %% | * ^_^ %% ^_^ %% | ||
- | * m( %% m( %% | ||
* :?: %% :?: %% | * :?: %% :?: %% | ||
* :!: %% :!: %% | * :!: %% :!: %% | ||
行 254: | 行 283: | ||
* DELETEME %% DELETEME %% | * DELETEME %% DELETEME %% | ||
- | ==== Text to HTML Conversions | + | ==== テキストから |
- | Typography: [[DokuWiki]] | + | 記号: [[DokuWiki]] |
-> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | -> <- <-> => <= <=> >> << -- --- 640x480 (c) (tm) (r) | ||
行 266: | 行 295: | ||
</ | </ | ||
- | 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 | + | パターンファイル設定による変換には、3 つの例外があります。 |
+ | 掛け算記号 | ||
+ | これらの変換は、[[doku> | ||
- | ===== Quoting | + | ===== 引用 |
- | Some times you want to mark some text to show it's a reply or comment. You can use the following syntax: | + | ある文が、返信であったり、コメントであるということを表現したい場合もあります。その場合、次の記法を使います。 |
- | <code> | + | やった方が良いと思うけど。 |
- | I think we should do it | + | |
+ | | ||
+ | |||
+ | >> まあ、やるべきでしょうね。 | ||
+ | |||
+ | > ほんとに? | ||
+ | |||
+ | >> 本気です! | ||
+ | |||
+ | >>> | ||
- | > No we shouldn' | + | やった方が良いと思うけど。 |
- | >> Well, I say we should | + | > いや、やるべきではない! |
- | > Really? | + | >> まあ、やるべきでしょうね。 |
- | >> Yes! | + | > ほんとに? |
- | >>> Then lets do it! | + | >> |
- | </ | + | |
- | I think we should do it | + | >>> |
- | > No we shouldn' | ||
- | >> Well, I say we should | + | ===== 表 ===== |
- | > Really? | + | 簡単な記法で表を作成できます。 |
- | >> Yes! | + | ^ 見出し 1 ^ 見出し 2 ^ 見出し 3 ^ |
+ | | 行 1 列 1 | 行 1 列 2 | 行 1 列 3 | | ||
+ | | 行 2 列 1 | 列の結合 (後の縦線が2つであることに注意) | ||
+ | | 行 3 列 1 | 行 3 列 2 | 行 3 列 3 | | ||
- | >>> | + | 表の各行は通常 |
- | ===== Tables ===== | + | ^ 見出し 1 ^ 見出し 2 ^ 見出し 3 ^ |
+ | | 行 1 列 1 | 行 1 列 2 | 行 1 列 3 | | ||
+ | | 行 2 列 1 | 列の結合 (後の縦線が2つであることに注意) || | ||
+ | | 行 3 列 1 | 行 3 列 2 | 行 3 列 3 | | ||
- | 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 | | + | |
- | To connect cells horizontally, | + | | ^ 見出し 1 ^ 見出し 2 ^ |
+ | ^ 見出し 3 | 行 1 列 2 | 行 1 列 3 | | ||
+ | ^ 見出し 4 | 列の結合は今回は無し | | | ||
+ | ^ 見出し 5 | 行 2 列 2 | 行 2 列 3 | | ||
- | Vertical tableheaders are possible, too. | + | 行を結合することもできます。 |
+ | 行の結合をする場合は、結合対象セルの下のセルの中に '' | ||
- | | | + | ^ 見出し1 ^ 見出し |
- | ^ Heading | + | | 行 1 列 1 | 行の結合 |
- | ^ Heading 4 | + | | 行 2 列 1 |
- | ^ Heading 5 | + | | 行 3 列 1 | ::: | 行 2 列 3 | |
- | As you can see, it's the cell separator before a cell which decides about the formatting: | + | これらのセルに |
- | | + | ^ 見出し |
- | | + | | 行 1 列 1 | 行の結合 |
- | | + | |
- | | + | |
- | You can have rowspans (vertically connected cells) by adding '' | + | 表の内容の配置を指定できます。 |
+ | 2個以上のスペースをテキストの反対側に置きます。 | ||
+ | つまり、右揃えにするには左側に2個のスペースを、左揃えにするには右側に2個のスペースを置きます。 | ||
+ | 中央揃えにするにはテキストの両側に2個以上のスペースを置きます。 | ||
- | ^ Heading 1 | + | ^ |
- | | Row 1 Col 1 | + | | 右| |
- | | Row 2 Col 1 | ::: | Row 2 Col 3 | | + | |左 |
- | | 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 2 Col 1 | + | |
- | | 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), enclose the area either with '' | + | もし入力した通りに |
< | < | ||
- | This is some text which contains addresses like this: http:// | + | このテキストには |
</ | </ | ||
- | The same is true for %%//__this__ text// with a smiley | + | 同様に |
< | < | ||
- | | + | |
</ | </ | ||
- | | + | |
- | ===== 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 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: | + | 上記のブロックは以下のようなソースから作成されています。 |
- | | + | |
< | < | ||
- | | + | |
</ | </ | ||
< | < | ||
- | | + | |
</ | </ | ||
- | ==== Syntax Highlighting | + | ==== 構文のハイライト |
- | [[wiki: | + | [[wiki: |
+ | [[http:// | ||
+ | 記法は、前述したコードブロックと同様ですが、言語の名称を | ||
<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!" | ||
行 418: | 行 455: | ||
</ | </ | ||
- | 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, c, cpp, cpp-qt, cpp-winapi, csharp, css, cuesheet, c_winapi, dart, dcl, dcpu16, dcs, delphi, diff, div, dos, dot, d, 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, q, racket, rails, rbs, rebol, reg, rexx, robots, roff, rpmspec, rsplus, ruby, rust, sas, sass, scala, scheme, scilab, scl, sdlbasic, smalltalk, smarty, spark, sparql, sql, sshconfig, 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, wolfram, xbasic, xml, xojo, xorg_conf, xpp, yaml, z80, zxbasic// |
- | There are additional | + | [[doku> |
- | ==== Downloadable Code Blocks | + | ==== ダウンロード可能なコードブロック |
- | When you use the '' | + | 前述の |
+ | 以下のように言語名の後にファイル名を記入することで、そのコードをダウンロード可能にすることができます。 | ||
< | < | ||
行 436: | 行 474: | ||
</ | </ | ||
- | If you don't want any highlighting but want a downloadable file, specify a dash ('' | + | 構文のハイライトは不要だがダウンロードは可能にしたい場合は、'' |
- | ===== RSS/ | + | ===== RSS/ |
- | [[DokuWiki]] | + | [[DokuWiki]]は外部のXMLフィードからのデータを統合できます。 |
+ | XMLフィードの解析には | ||
+ | DokuWikiではSimplePieが解釈可能な全てのフォーマットが利用できます。 | ||
+ | スペースで区切られた複数の引数で表示をカスタマイズできます: | ||
+ | ^ パラメータ | ||
+ | | 数字 | ||
+ | | reverse | ||
+ | | author | ||
+ | | date | 日付を表示する。 | | ||
+ | | description | 概要を表示する。 含まれる全てのHTMLタグは無効になります。 | | ||
+ | | 数字[dhm] | ||
- | ^ Parameter | + | 更新間隔のデフォルトは4時間です。10分未満の値は10分として扱われます。 |
- | | any number | will be used as maximum number items to show, defaults to 8 | | + | 通常[[wiki: |
- | | reverse | + | このパラメータによって、ページが最後に描画されてから//更新間隔//以上経っていたら[[wiki: |
- | | author | + | |
- | | date | show item dates | | + | |
- | | 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: | + | デフォルトでは、フィードは日付順に新しいものから並べられます。 |
+ | '' | ||
- | By default the feed will be sorted by date, newest items first. You can sort it by oldest first using the '' | + | **例:** |
- | + | ||
- | **Example:** | + | |
{{rss> | {{rss> | ||
行 460: | 行 502: | ||
{{rss> | {{rss> | ||
+ | ===== 制御用のマクロ ===== | ||
- | ===== Control Macros ===== | + | いくつかの構文は、それ自身は出力されないものの、DokuWiki の動作に影響を及ぼします。以下のような制御用のマクロが利用可能です。 |
- | Some syntax influences how DokuWiki | + | ^ マクロ |
+ | | %%~~NOTOC~~%% | ||
+ | | %%~~NOCACHE~~%% | デフォルトでは、DokuWiki | ||
- | ^ Macro ^ Description | | + | ===== 記法のプラグイン ===== |
- | | %%~~NOTOC~~%% | + | |
- | | %%~~NOCACHE~~%% | DokuWiki caches all output by default. Sometimes this might not be wanted (eg. when the %%< | + | |
- | ===== Syntax Plugins ===== | + | DokuWiki |
- | + | 各プラグインの使用方法は、各プラグインの解説ページにあります。この | |
- | DokuWiki's syntax can be extended by [[doku> | + | |
~~INFO: | ~~INFO: | ||
- |
wiki/syntax_copy.1751373491.txt.gz · 最終更新: by 183.76.155.232