[MlMt] Markdown questions

Erik Wessel-Berg erik at wez.no
Thu Jun 4 09:48:15 EDT 2015



On 4 Jun 2015, at 13:43, Volker Kopetzky wrote:

>
>
> #### 1 - How to add a line break to lists
> ```
> * some list text
> a second line in the same list item
> ```
>
> ```<br />``` and ```\
``` do not add a new line.

Double space at the end of a line gives you a line break.

     * Double space at the end of this list item
     a second line on the same list item
     * A new line

displays as

* Double space at the end of this list item
a second line on the same list item
* A new line

I don't think you can get a blank line in the middle of a list item that 
spans across several lines.


> #### 3 - tables
> This is least important for myself, still I am curious on how to 
> create one.
>
> This does not work:
> | cell1 | cell2 | cell3 |
> | cell4 | cell5 | cell6 |
> | cell7 | cell8 | cell9 |

You need to separate a header row. See the 
[Cheatsheet](https://rawgit.com/fletcher/human-markdown-reference/master/index.html) 
(Tables-section)

     | col1  | col2  | col3  |
     |-------|-------|-------|
     | cell1 | cell2 | cell3 |
     | cell4 | cell5 | cell6 |
     | cell7 | cell8 | cell9 |

gives

| col1  | col2  | col3  |
|-------|-------|-------|
| cell1 | cell2 | cell3 |
| cell4 | cell5 | cell6 |
| cell7 | cell8 | cell9 |

Regards
-- Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20150604/031ccbdc/attachment.html>


More information about the mailmate mailing list