-
[code]
while (ivec.size() != ivec.capacity())
ivec.push_back(0);
[/code]
# Preformatted text for code:
while (ivec.size() != ivec.capacity())
ivec.push_back(0);
-
[output]Reply from 74.125.128.100: bytes=32 time=266ms TTL=37[/output]
# Preformatted text for code with output style:
Reply from 74.125.128.100: bytes=32 time=266ms TTL=37
-
[img]http://bits.wikimedia.org/images/wikimedia-button.png[/img]
[img]twitter-bird]http://www.w3.org/2008/site/images/twitter-bird[/img]
# To insert an image:


# The first expression omited the parameter for alt attribute.
# It will be automatically converted to second expression with filename, or you can manually add.
-
[url]http://www.w3school.com.cn/[/url]
[url]http://www.w3school.com.cn/[W3School[/url]
# A link to one page:
http://www.w3school.com.cn/
W3School
# The second expression assigned a description text.
-
[color]orange]Its name from the orange fruit.[/color]
[color]#6495ED]Cornflower blue, a shade of azure[/color]
[b]Bolded Text[/b]
[small]Small Text[/small]
# Color a part of a text or change font:
Its name from the orange fruit.
Cornflower blue, a shade of azure
Bolded Text
Small Text
-
[last][/last]
# Last modified date:
Last modified: 2020-06-08 14:25:16
# This page initially completed on 2013-09-02.
-
[html]
<script type="text/javascript">
document.write("Test!");
</script><br/>Newline here!
[/html]
# HTML retain:
Newline here!
# This expression will retain all HTML tags and javascript.
# But one except: <br />, <br /> will be losted by second edit because of PHP function nl2br().
# To retain newline tag, use <br/> instead.
-
[h]h4]This is heading 4[/h]y[h]sup]4[/h]
C[h]sub]hex[/h], ...
# For some plain symmetrical HTML tags:
This is heading 4
y4
Chex, ...
-
[lead_define]
[title] @=
[/title] @=
[hello][/hello] @= Just say hello.
[/lead_define][title]My Title[/title]
[hello][/hello]
# Define hot minicode in a post.
# You can define several minicode, but all need to be in one [lead_define].
My Title
Just say hello.
-
[abst][/abst]
# Indicate the end of abstract:
# miniroll can not generate an abstract automatically.
# You need use this tag that make a front part of a journal become an abstract.