From 6200f7dba94d1ceb56f0e921f08b3dbc216067dc Mon Sep 17 00:00:00 2001 From: Martino Sorbaro Date: Sat, 13 Apr 2024 22:07:17 +0200 Subject: [PATCH] divs turned into table in first episode --- episodes/01-run-quit.md | 211 +++++++++++----------------------------- 1 file changed, 57 insertions(+), 154 deletions(-) diff --git a/episodes/01-run-quit.md b/episodes/01-run-quit.md index 2c0b1ae08..54763a8d0 100644 --- a/episodes/01-run-quit.md +++ b/episodes/01-run-quit.md @@ -339,161 +339,64 @@ You need to be in Command mode (Press Esc if your cell is blue). Typ ### Markdown does most of what HTML does. -
+Table: Showing some markdown syntax and its rendered output. + ++---------------------------------------+------------------------------------------------+ +| Markdown code | Rendered output | ++=======================================+================================================+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| * Use asterisks | - Use asterisks | +| * to create | - to create | +| * bullet lists. | - bullet lists. | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| 1. Use numbers | 1. Use numbers | +| 1. to create | 2. to create | +| 1. bullet lists. | 3. numbered lists. | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| * You can use indents | - You can use indents | +| * To create sublists | - To create sublists | +| * of the same type | - of the same type | +| * Or sublists | - Or sublists | +| 1. Of different | 1. Of different | +| 1. types | 2. types | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| # A Level-1 Heading | ## A Level-1 Heading | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| ## A Level-2 Heading (etc.) | ### A Level-2 Heading (etc.) | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| Line breaks | Line breaks | +| don't matter. | don't matter. | +| | | +| But blank lines | But blank lines | +| create new paragraphs. | create new paragraphs. | +| ``` | | ++---------------------------------------+------------------------------------------------+ ++---------------------------------------+------------------------------------------------+ +| ``` |

| +| [Links](http://software-carpentry.org)| [Links](https://software-carpentry.org) | +| are created with `[...](...)`. | are created with `[...](...)`. | +| Or use [named links][data-carp]. | Or use [named links][data_carpentry]. | +| | | +| [data-carp]: http://datacarpentry.org | | +| ``` | | ++---------------------------------------+------------------------------------------------+ -
- -``` -* Use asterisks -* to create -* bullet lists. -``` - -
- -
- -- Use asterisks -- to create -- bullet lists. - -
- -
- -
- -
- -``` -1. Use numbers -1. to create -1. numbered lists. -``` - -
- -
- -1. Use numbers -2. to create -3. numbered lists. - -
- -
- -
- -
- -``` -* You can use indents - * To create sublists - * of the same type -* Or sublists - 1. Of different - 1. types -``` - -
- -
- -- You can use indents - - To create sublists - - of the same type -- Or sublists - 1. Of different - 2. types - -
- -
- -
- -
- -``` -# A Level-1 Heading -``` - -
- -
- -## A Level-1 Heading - -
- -
- -
- -
- -``` -## A Level-2 Heading (etc.) -``` - -
- -
- -## A Level-2 Heading (etc.) - -
- -
- -
- -
- -``` -Line breaks -don't matter. - -But blank lines -create new paragraphs. -``` - -
- -
- -Line breaks -don't matter. - -But blank lines -create new paragraphs. - -
- -
- -
- -
- -``` -[Create links](http://software-carpentry.org) with `[...](...)`. -Or use [named links][data_carpentry]. - -[data_carpentry]: http://datacarpentry.org -``` - -
- -
- -[Create links](https://software-carpentry.org) with `[...](...)`. -Or use [named links][data_carpentry]. - -
- -
::::::::::::::::::::::::::::::::::::::: challenge