picocms / Pico

Pico is a stupidly simple, blazing fast, flat file CMS.
http://picocms.org/
MIT License
3.82k stars 616 forks source link

Limited Levels of Concurrency in Lists #462

Closed anasram closed 5 years ago

anasram commented 5 years ago

It seems like lists in markdown files doesn't accept more than 2 levels of concurrency. It should be unlimited or 6 at least.

e.g. The following list

* foo
 * foo
  * foo
   * foo
    * foo

will look like this:

PhrozenByte commented 5 years ago

Unfortunately I can't reproduce this. This Markdown

* foo
  * foo
      * foo
        * foo
          * foo

results in

bildschirmfoto von 2018-11-28 23-58-17

The rather unexpected intendation of the 4th "foo" is likely due to the mixed whitespace intendation. This Markdown

* foo
    * foo
        * foo
            * foo
                * foo

reslults in

bildschirmfoto von 2018-11-29 00-01-40

anasram commented 5 years ago

Thanks, it works fine.

Also, I just detected that using tabs is the best way to generate concurrent lists.