Skip to content
Snippets Groups Projects
Commit a9bd140f authored by Pooja Halappanavar's avatar Pooja Halappanavar
Browse files

Update reStructuredText Basics.rst

parent bdba9f63
No related branches found
No related tags found
No related merge requests found
...@@ -30,12 +30,6 @@ Paragraphs in reStructuredText are blocks of text separated by at least one blan ...@@ -30,12 +30,6 @@ Paragraphs in reStructuredText are blocks of text separated by at least one blan
Inline markup for font styles is similar to markdown: Inline markup for font styles is similar to markdown:
**Syntax**
.. figure:: Images/Font_style.PNG
**Output**
* Use one asterisk (*text*) for italics * Use one asterisk (*text*) for italics
* Use two asterisks (**text**) for bolding * Use two asterisks (**text**) for bolding
* Use two backticks (``text``) for code samples * Use two backticks (``text``) for code samples
...@@ -114,11 +108,8 @@ reSt supports an image directive, used like: .. figure:: Images/image name.PNG ...@@ -114,11 +108,8 @@ reSt supports an image directive, used like: .. figure:: Images/image name.PNG
*example* *example*
**Syntax** .. figure:: Images/multi_data.PNG
.. figure:: Images/multi_data.PNG
**Output**
**Directives** **Directives**
============== ==============
...@@ -129,10 +120,8 @@ Directive is a generic block of explicit markup. While docutils provides a numbe ...@@ -129,10 +120,8 @@ Directive is a generic block of explicit markup. While docutils provides a numbe
**Syntax** **Syntax**
.. figure:: Images/toctree.PNG .. figure:: Images/toctree.PNG
:height: 100px :width: 50px
:width: 150px :Height: 50px
:scale: 50%
:align: right
**Output** **Output**
...@@ -147,7 +136,8 @@ The "list-table" directive is used to create a table from data in a uniform two- ...@@ -147,7 +136,8 @@ The "list-table" directive is used to create a table from data in a uniform two-
**Syntax** **Syntax**
.. figure:: Images/List-table.PNG .. figure:: Images/List-table.PNG
:width: 50
:Height: 50
**Output** **Output**
...@@ -198,7 +188,6 @@ The data may be internal (an integral part of the document) or external (a separ ...@@ -198,7 +188,6 @@ The data may be internal (an integral part of the document) or external (a separ
========= =========
**Cross-referencing syntax** **Cross-referencing syntax**
----------------------------
Basically, you only need to write :role:`target` and a link will be created to the item named target of the type indicated by role. Basically, you only need to write :role:`target` and a link will be created to the item named target of the type indicated by role.
...@@ -209,7 +198,6 @@ Basically, you only need to write :role:`target` and a link will be created to t ...@@ -209,7 +198,6 @@ Basically, you only need to write :role:`target` and a link will be created to t
.. figure:: Images/math.PNG .. figure:: Images/math.PNG
**Output** **Output**
----------
Since Pythagoras, we know that :math:`a^2 + b^2 = c^2` Since Pythagoras, we know that :math:`a^2 + b^2 = c^2`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment