ver 2.0
#####################################################################
## Page
#####################################################################
=====================================================================
paragraph
---------------------------------------------------------------------
p
(sentence)
---------------------------------------------------------------------
<p>(sentence)</p>
=====================================================================
blank line
---------------------------------------------------------------------
br
---------------------------------------------------------------------
<br/>
=====================================================================
step
---------------------------------------------------------------------
s
(sentence)
---------------------------------------------------------------------
<table class="doc-step-tbl">
<tr>
	<td class="doc-step-no"><?php CStepNo::printNo(); ?></td>
	<td class="doc-step-txt">(sentence)</td>
</tr>
</table>
=====================================================================
image box
---------------------------------------------------------------------
i
(filename)
(sentence) #optional
---------------------------------------------------------------------
<div class="img-box">
	<img src="<?php echo $url_img; ?>(category)/(filename).png" />
	<div class="img-fig"><span>(sentence)</span></div>
</div>
=====================================================================
image boxes (2,3,4,6) in a row
---------------------------------------------------------------------
i
(filename1)
(sentence1)
(filename2)
(sentence2)
(filename3)
(sentence3)
(filename4)
(sentence4)
---------------------------------------------------------------------
<div class="row">
	<div class="col-sm-n">(image-box1)</div>
	<div class="col-sm-n">(image-box2)</div>
	<div class="col-sm-n">(image-box3)</div>
	<div class="col-sm-n">(image-box4)</div>
</div>
=====================================================================
section title
---------------------------------------------------------------------
t
(title)
---------------------------------------------------------------------
<div class="stitle">(title)</div>
=====================================================================
section title + step number
---------------------------------------------------------------------
ts
(title)
---------------------------------------------------------------------
<div class="doc-stitle">
<?php CStepNo::printNo(); ?>&nbsp;&nbsp;
(title)
</div>
=====================================================================
subsection title
---------------------------------------------------------------------
t2
(title)
---------------------------------------------------------------------
<div class="stitle2">(title)</div>
=====================================================================
subsection title + step number
---------------------------------------------------------------------
ts2
(title)
---------------------------------------------------------------------
<div class="doc-stitle2">
<?php CStepNo::printNo(); ?>&nbsp;&nbsp;
(title)
</div>
=====================================================================
paragraph + bullet
---------------------------------------------------------------------
ui
(text)
---------------------------------------------------------------------
<div class="doc-bullet-indent">
<div class="bullet"></div>
(text)
</p>
=====================================================================
named anchar
---------------------------------------------------------------------
n
(text)
---------------------------------------------------------------------
<a name="(text)"></a>
=====================================================================
raw text
---------------------------------------------------------------------
raw
(line 1)
(line 2)
(line 3)
.......
.......
.......
(line n)
/raw
---------------------------------------------------------------------
(line 1)
(line 2)
(line 3)
.......
.......
.......
(line n)
=====================================================================
code text
---------------------------------------------------------------------
code
(line 1)
(line 2)
(line 3)
.......
.......
.......
(line n)
/code
---------------------------------------------------------------------
(line 1)
(line 2)
(line 3)
.......
.......
.......
(line n)
=====================================================================
panel
---------------------------------------------------------------------
(type)
(title) or -
(text) or -
---------------------------------------------------------------------
<div class="panel panel-(type)">
	<div class="panel-heading">(title)</div>
	<div class="panel-body">
		(text)
	</div>
</div>
=====================================================================
info
---------------------------------------------------------------------
info
(text)
---------------------------------------------------------------------
<?php CPanel::printInfo('(text)'); ?>
=====================================================================
template
---------------------------------------------------------------------
t
(tpl)
=====================================================================



#####################################################################
## Text
#####################################################################
=====================================================================
bold
---------------------------------------------------------------------
b^(text)%
---------------------------------------------------------------------
<b>(text)</b>
=====================================================================
bullet
---------------------------------------------------------------------
u^%
---------------------------------------------------------------------
<div class="doc-bullet"></div>
=====================================================================
keyword
---------------------------------------------------------------------
k^(text)%
---------------------------------------------------------------------
<span class="kw">(text)</span>
=====================================================================
red
---------------------------------------------------------------------
r^(text)%
---------------------------------------------------------------------
<span class="red">(text)</span>
=====================================================================
link
---------------------------------------------------------------------
l^(filename)|(caption)%
---------------------------------------------------------------------
<a href="(url)">(caption)</a>
=====================================================================
smooth move
---------------------------------------------------------------------
m^(#location)|(caption)%
---------------------------------------------------------------------
<a class="smooth" href="(#location)">(caption)</a>
=====================================================================
inline image
---------------------------------------------------------------------
i^(filename)%
---------------------------------------------------------------------
<img class="ii"/>
=====================================================================



#####################################################################
## Index
#####################################################################
=====================================================================
macro
---------------------------------------------------------------------
m
key1=val1
key2=val2
key3=val3
....=....
....=....
....=....
---------------------------------------------------------------------
%key% ===> val

=====================================================================
category
---------------------------------------------------------------------
c
(category)
---------------------------------------------------------------------
//-- (category)
$items2 = array();
=====================================================================
item2
---------------------------------------------------------------------
i2
(key)
(rtp)
(title)
---------------------------------------------------------------------
$items2["(cate)/(key)"] = array(
	"rtp"=>"(rtp)",
	"title1"=>$script_name,
	"title2"=>null,
	"title"=>"(title)",
);
=====================================================================
item1
---------------------------------------------------------------------
i1
(title)
---------------------------------------------------------------------
$items1["(cate)"] = array(
	"title"=>"(title)",
	"items"=>$items2,
);
---------------------------------------------------------------------
i1
@(key)
(rtp) = foreign link
(title)
---------------------------------------------------------------------
$items1["(cate)/@(key)"] = array(
	"rtp"=>"(rtp)",
	"title"=>"(title)",
	"items"=>$items2,
);
---------------------------------------------------------------------
i1
(key)
(rtp)
(title)
---------------------------------------------------------------------
$items1["(cate)/(key)"] = array(
	"rtp"=>"(rtp)",
	"title"=>"(title)",
	"items"=>$items2,
);
=====================================================================

