jsarafajr/slackify-markdown

nested lists aren't generated correctly

Opened this issue · 0 comments

example-list.md

## EXAMPLE LIST

 1. **bold part of title,** and rest of title
   * https://github.com
   * _italic text_
 2. **bold part of title,** and rest of title
   * https://github.com
   * _italic text_

slackify-markdown generates the below result

example-list.slack

*EXAMPLE LIST*

1.  ​*bold part of title,*​ and rest of title

•   <https://github.com|https://github.com>
•   ​_italic text_​

2.  ​*bold part of title,*​ and rest of title

•   <https://github.com|https://github.com>
•   ​_italic text_​

I believe the list should look this way,

example-list.slack

*EXAMPLE LIST*

1.  ​*bold part of title,*​ and rest of title
  •   https://github.com
  •   ​_italic text_​
2.  ​*bold part of title,*​ and rest of title
  •   https://github.com
  •   ​_italic text_​