From d1ec0c1850b3a81b482ea0a7605b1b206db55166 Mon Sep 17 00:00:00 2001 From: Marcel Amirault Date: Tue, 10 Sep 2019 23:48:30 +0000 Subject: Fix markdown to improve rendering of markdown doc --- doc/user/markdown.md | 62 ++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 45 insertions(+), 17 deletions(-) diff --git a/doc/user/markdown.md b/doc/user/markdown.md index 75a1ac8e9ff..d3cbe4d545f 100644 --- a/doc/user/markdown.md +++ b/doc/user/markdown.md @@ -997,16 +997,18 @@ These details will remain hidden until expanded. Markdown inside these tags is supported as well, as long as you have a blank line after the `` tag and before the `` tag, as shown in the example: -```html +````html
Click me to collapse/fold. These details _will_ remain **hidden** until expanded. +``` PASTE LOGS HERE +```
-``` +```` @@ -1015,7 +1017,7 @@ PASTE LOGS HERE These details will remain hidden until expanded. -PASTE LOGS HERE +
PASTE LOGS HERE
@@ -1161,16 +1163,15 @@ GFM will autolink almost any URL you put into your text: ### Lists -Ordered and unordered lists can be easily created. Add the number you want the list +Ordered and unordered lists can be easily created. + +For an ordered list, add the number you want the list to start with, like `1.`, followed by a space, at the start of each line for ordered lists. After the first number, it does not matter what number you use, ordered lists will be numbered automatically by vertical order, so repeating `1.` for all items in the same list is common. If you start with a number other than `1.`, it will use that as the first number, and count up from there. -Add a `*`, `-` or `+`, followed by a space, at the start of each line for unordered lists, but -you should not use a mix of them. - Examples: ```md @@ -1181,15 +1182,10 @@ Examples: 1. Ordered sub-list 1. Next ordered sub-list item 4. And another item. - -* Unordered lists can use asterisks - -- Or minuses - -+ Or pluses ``` - + + 1. First ordered list item 1. Another item @@ -1199,11 +1195,43 @@ Examples: 1. Next ordered sub-list item 1. And another item. -- Unordered lists can use asterisks +For an unordered list, add a `-`, `*` or `+`, followed by a space, at the start of +each line for unordered lists, but you should not use a mix of them. + +```md +Unordered lists can: + +- use +- minuses + +They can also: + +* use +* asterisks + +They can even: + ++ use ++ pluses +``` + + + + +Unordered lists can: + +- use +- minuses + +They can also: + +- use +- asterisks -- Or minuses +They can even: -- Or pluses +- use +- pluses --- -- cgit v1.2.1