I try to use the markdown format to write a list in my readme file.
But in the github flavoured markdown, it using a dot "⋅"
not period("."
) to indicate the align for list.
How to type such dot from regular US/English keyboard? I tried to copy and paste to github, it's not work.
Thanks.
Have you tried * (asterisk) your points? Those "dots" in that link is just spaces. They put that in the manual so you can visualize the spaces, not that it is a literal "dot" character.
Like:
What they mean is:
And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅ Note that this line is separate, but within the same paragraph.⋅⋅ (This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
Here's the raw code:
1. First ordered list item
2. Another item
* Unordered sub-list.
1. Actual numbers don't matter, just that it's a number
1. Ordered sub-list
4. And another item.
You can have properly indented paragraphs within list items. Notice the blank line above, and the leading spaces (at least one, but we'll use three here to also align the raw Markdown).
To have a line break without a paragraph, you will need to use two trailing spaces.⋅⋅
Note that this line is separate, but within the same paragraph.⋅⋅
(This is contrary to the typical GFM line break behaviour, where trailing spaces are not required.)
* Unordered list can use asterisks
- Or minuses
+ Or pluses
Just hit space multiple spaces for soft-breaks; (·) was just for notation
try this lesson Here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With