Files
w3m/w3m-doc/sample
Tatsuya Kinoshita e2292d5c74 Remove garbage files
2012-05-22 23:06:58 +09:00
..
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00
2011-05-04 16:05:14 +09:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

使い方
  perl w3mdoc.pl sample.wd > sample.html

展開されるもの

* @xxx.yyy@

  @define  @end 内で定義された値に展開される。

* @YYY(xxx)@

  @code  @end 内で定義された関数を呼び出して展開される。

  例)
     URL(xxx)     xxx.url
     LINK(xxx)    <A HREF="xxx.url">xxx.title</A>
     MAILTO(xxx)  <A HREF="mailto:xxx.address">xxx.name</A>

コマンド一覧

* 定義
  @define
    xxx.yyy    zzz
  @end

  xxx.yyy を zzz と定義する。xxx は以下の関数の引数にもなる。
  例は define.wd を参照。

* コード(関数定義)
  @code
    コード
  @end

  w3mdoc を実装している言語のコードを直接書く。とりあえず perl5。
  例は html.wd を参照。

* インクルード
  @include file

  ファイルを include する。