opendevise / downdoc

Rapidly converts AsciiDoc to Markdown.
MIT License
53 stars 2 forks source link

Some markdown processors require a nested list to be indented by 4 spaces #7

Closed mojavelinux closed 1 year ago

mojavelinux commented 1 year ago

Some markdown processors require a nested list to be indented by 4 spaces from the parent item rather than the width of the marker. The Markdown processor used by Slack is one such example. (see https://www.markdownguide.org/basic-syntax#unordered-lists) downdoc should either use 4 spaces or allow the behavior to be configured to target this interpretation.

Contextual indentation:

* parent
   * child

Fixed indentation:

* parent
    * child