react-ui-org / react-ui

React UI is a themeable and performant UI library for React apps.
https://react-ui.io
MIT License
21 stars 7 forks source link

Wrong indentation of nested lists in rendered docs #486

Closed adamkudrna closed 1 year ago

adamkudrna commented 1 year ago

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

Image


Image


Image

adamkudrna commented 1 year ago

Let's go with 4 spaces.

adamkudrna commented 1 year ago

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

https://github.com/mkdocs/mkdocs/issues/1835#issuecomment-1664770402