Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to type the dot in github markdown list?

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.

like image 622
Josan Avatar asked Jan 31 '14 20:01

Josan


2 Answers

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:

  • This is a point
    • This is a subpoint
  • this is another point.
    • This is another subpoint

What they mean is:

  1. First ordered list item
  2. Another item
    • Unordered sub-list.
  3. 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

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
like image 64
PressingOnAlways Avatar answered Sep 25 '22 07:09

PressingOnAlways


Just hit space multiple spaces for soft-breaks; (·) was just for notation

try this lesson Here

like image 25
Tarandeep Singh Avatar answered Sep 25 '22 07:09

Tarandeep Singh