react-ui-org/react-ui

Wrong indentation of nested lists in rendered docs

adamkudrna opened this issue · 2 comments

MD uses 2 spaces for indentation, but MKdocs only considers 4 as an indent:

Image


Image


Image

Let's go with 4 spaces.

For anyone coming across this issue: if you prefer CommonMark, these are your options:

mkdocs-plugin-commonmark (May 2020), a plugin which patches out the renderer, works with mkdocs==1.4.3 but not 1.5.0
mkdocs-commonmark (Sept 2019), a fork of MkDocs, but it looks abandoned
mdBook, a MkDocs alternative which uses CommonMark

mkdocs/mkdocs#1835 (comment)