Section author: Emanuele Disco <emanuele.disco@gmail.com>
Example for reStructuredText¶
New in version 2.5.
Take a look at the rest specification at this link.
To make a link you can use the embedded URI method:
`link label <http://example.com/>`_
or the recommended hyperlink target method:
`link`_
.. _link: http://example.com
This one too is a link but is an Anonymous Hyperlink.
This is a subsection¶
We can reference this page with this link Example for reStructuredText everywhere in this documentation.
:ref:`restructured-text-example`
Java String Object will remove the leading zero if a number is returned without formatting
This is a code sample test
.
fix:
> RTRIM(TO_CHAR(PLAN_RATE, 'FM99990D99'), '.') PLAN_RATE
reference:
http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements004.htm
http://www.techonthenet.com/oracle/functions/rtrim.php
We can put images too!
This is a Part¶
This is a reference to a previous section thisis-a-subsection.
This is an html code example:
<html>
<body>Ciao</body>
</html>
..and this one is a javascript code sample:
For code-block blocks, a linenos flag option can be given to switch on line numbers for the individual block
1 2 3 4 5 6 7 8 9 10 11 12 13 | var ids = grid.jqGrid('getDataIDs');
for(var i = 0; i < ids.length; i++ ){
var ret = grid.jqGrid('getRowData', ids[i]);
params.push({ name: "seq", value: ret.hist_seq });
}
$.ajax({
url: "/Doc/RegisterAddAuth.action",
data: params,
type: "POST"
}).done(function(){
pmis.successMessage('<sangah:msg id="message.0546" />');
});
|
Note
This is a note admonition.
This is the second line of the first paragraph.
- The note contains all indented body elements following.
- It includes this bullet list.
Warning
This is a warning!!!
Important
This is really important!!!
Tip
This is a tip!
Paragraph¶
Lorem ipsum [Ref] dolor sit amet.
[Ref] | Book or article reference, URL or whatever. |
row 1, col 1 | column 2 | column 3 | column 4 |
row 2 | |||
row 3 |
Link to a file¶
This is a link to a file SAH-CI-INIT-1001(A)-D.pdf
This is another link to a file SAH-CI-INIT-1001(A)-D.pdf
Add some index!¶
.. index::
single: execution; context
module: __main__
module: sys
triple: module; search; path
see: entry; other
This is a normal reST :index:`paragraph` that contains several
:index:`index entries <pair: index; entry>`.