jsarafajr / slackify-markdown

Convert markdown into Slack-specific markdown
MIT License
129 stars 25 forks source link

Inconsistent heading indentation and spacing #8

Closed bernardd closed 4 years ago

bernardd commented 4 years ago

Hi, thanks for this really handy tool.

I've hit a minor issue with the way headings are indented when they're between lists. The following input:

**Fixed bugs:**
- Bug
**Closed issues:**
- Issue

produces this output:

*Fixed bugs:*​

•   Bug
    ​*Closed issues:*​
•   Issue

It would be great if the "Closed issues" heading had a space after it, like "Fixed bugs", and was not indented, since both of those differences show up in Slack.

bernardd commented 4 years ago

Well that's odd. When I pushed the same text to slack via the API (instead of copy-pasting it into the app) it all formatted itself perfectly in the UI. So I guess it's not a problem after all. Thanks again :)