Commit 7eed9950 authored by Vilem Ded's avatar Vilem Ded
Browse files

formatting tables code -> pre, removing br

parent 2a76cb50
......@@ -32,8 +32,18 @@ Markdown is a lightweight markup language with plain text formatting syntax whic
<img src="img/visual-code_img_10.png">
- **tips to write in markdown:**
## Tips to write in markdown:
<img src="img/visual-code_img_18.png">
**insert pictures:**
<img src="img/visual-code_img_19.png" width="1000">
**create a table**
<img src="img/visual-code_img_20.png">
## Syntax
<table>
<thead>
<tr>
......@@ -57,102 +67,110 @@ Markdown is a lightweight markup language with plain text formatting syntax whic
<h3>Header 3</h3><br>
<h4>Header 4</h4>
</td>
</tr>
<tr>
<td>
<code>
To **bold** text, add **two asterisks** or __underscores__ before and after a word or phrase.<br>
To make text **italic** text, add *one asterisks* or _underscores_.
</code>
</td>
<td>
To make phrase <strong>bold</strong> text, add <strong>two asterisks</strong> or <strong>underscores</strong> before and after a word or phrase.<br>
To make text <i>italic</i>, add <i>one asterisks</i> or <i>underscores</i>.
</td>
</tr>
<tr>
<td>
<code>
Use numbers for ordered lists: <br>
1. First item<br>
2. Second item<br>
3. Third item<br>
&nbsp;&nbsp;&nbsp;&nbsp;1. Indented item<br>
&nbsp;&nbsp;&nbsp;&nbsp;2. Indented item<br>
4. Fourth item
</code>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item
<ol>
<li>Indented item</li>
<li>Indented item</li>
</ol>
</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
<tr>
<td>
<code>
For unordered lists
* First item<br>
* Second item<br>
* Third item<br>
* Fourth item
</code>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<li>Fourth item</li>
</ul>
</td>
</tr>
<tr>
<td>
<code>
Include links referring to a web [page](https://www.markdownguide.org/)
</code>
</td>
<td>
Include links referring to a web <a href="https://www.markdownguide.org/">page</a>
</td>
</tr>
<tr>
<td>
<code>
Include local pictures: ![My awesome picture](PATH/TO/IMAGE/img.png)
</code>
</td>
<td>
Include local pictures: <img src="img/r3_logo.png">
</td>
</tr>
<tr>
<td>
<code>
Include code blocks! <br>
```
myAwesomeFunction <- function(x) x+1;<br>
myAwesomeFunction(2);<br>
```
</code>
</td>
<td>
Include code blocks! <br>
<code>
myAwesomeFunction <- function(x) x+1;<br>
myAwesomeFunction(2);
</code>
</td>
</tr>
</tr>
<tr>
<td>
<pre>
To make a text **bold**, use **double asterisk** or __underscores__ before and after a word or phrase.
To make a text **italic**, use *one asterisk* or _underscore_.
</pre>
</td>
<td>
To make a text <strong>bold</strong>, use <strong>double asterisk</strong> or <strong>underscores</strong> before and after a word or phrase.<br>
To make text <i>italic</i>, use <i>one asterisk</i> or <i>underscore</i>.
</td>
</tr>
<tr>
<td>
<pre>
Use numbers for ordered lists:
1. First item
2. Second item
3. Third item
&nbsp;&nbsp;&nbsp;&nbsp;1. Indented item
&nbsp;&nbsp;&nbsp;&nbsp;2. Indented item
4. Fourth item
</pre>
</td>
<td>
<ol>
<li>First item</li>
<li>Second item</li>
<li>Third item
<ol>
<li>Indented item</li>
<li>Indented item</li>
</ol>
</li>
<li>Fourth item</li>
</ol>
</td>
</tr>
<tr>
<td>
<pre>
For unordered lists
* First item
* Second item
* Third item
&nbsp;&nbsp;&nbsp;&nbsp;* Indented item
&nbsp;&nbsp;&nbsp;&nbsp;* Indented item
* Fourth item
</pre>
</td>
<td>
<ul>
<li>First item</li>
<li>Second item</li>
<li>Third item</li>
<ul>
<li>Indented item</li>
<li>Indented item</li>
</ul>
<li>Fourth item</li>
</ul>
</td>
</tr>
<tr>
<td>
<pre>
Include links referring to a web [page](https://www.markdownguide.org/)
</pre>
</td>
<td>
Include links referring to a web <a href="https://www.markdownguide.org/">page</a>
</td>
</tr>
<tr>
<td>
<pre>
Include local pictures: ![My awesome picture](img/r3_logo.png)
</pre>
</td>
<td>
Include local pictures: <img src="img/img.png">
</td>
</tr>
<tr>
<td>
<pre>
Include code blocks!
```
def myAwesomeFunction(x)
x+1;
myAwesomeFunction(2);
```
</pre>
</td>
<td>
Include code blocks! <br>
<code>
def myAwesomeFunction(x):
x+1
myAwesomeFunction(2)
</code>
</td>
</tr>
</tbody>
</table>
......@@ -182,42 +200,41 @@ Another big advantage of Markdown is that it can contain HTML tags, which makes
</tr>
</thead>
<tbody>
<tr>
<td>
<code>
# DocTitle<br>
### Attendees:<br>
### Location:<br>
## Objective / Agenda<br>
## Meeting Notes<br>
* first note <br>
* second note <br>
* ...<br>
<br>
## Actions<br>
- [ ] Josh, Alice and Cindy will do this.<br>
- [x] Bob stops doing that.<br>
- [ ] Will and Tom will take care of those
</code>
</td>
<td>
<h1>DocTitle</h1><br>
<h3> Attendees:<h3><br>
<h3> Location:</h3><br>
<h2> Objective / Agenda</h2><br>
<h2> Meeting Notes</h2><br>
<ul>
<li> first note</li>
<li>second note</li>
<li>...</li>
</ul>
<h2> Actions</h2><br>
<input type="checkbox" > Josh, Alice and Cindy will do this.</input><br>
<input type="checkbox" checked="checked"> Bob stops doing that.</input><br>
<input type="checkbox" > Vanessa and Tom will take care of those</input><br>
</td>
</tr>
</tbody>
<tr>
<td>
<pre>
# DocTitle
### Attendees:
### Location:
## Objective / Agenda
## Meeting Notes
* first note
* second note
* ...
## Actions
- [ ] Josh, Alice and Cindy will do this.
- [x] Bob stops doing that.
- [ ] Will and Tom will take care of those
</pre>
</td>
<td>
<h1>DocTitle</h1><br>
<h3> Attendees:</h3><br>
<h3> Location:</h3><br>
<h2> Objective / Agenda</h2><br>
<h2> Meeting Notes</h2><br>
<ul>
<li> first note</li>
<li>second note</li>
<li>...</li>
</ul>
<h2> Actions</h2><br>
<input type="checkbox"> Josh, Alice and Cindy will do this.<br>
<input type="checkbox" checked="checked"> Bob stops doing that.<br>
<input type="checkbox"> Vanessa and Tom will take care of those<br>
</td>
</tr>
</tbody>
</table>
* **Analyses, reports and papers** - embedding [R markdown](https://rmarkdown.rstudio.com/) in an R project allows you to include executable code and related text in the very same document. This brings unprecedented level of consistency, shareability and reproducibility into the workflows.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment