thundergolfer / slackify-markdown

#️⃣Convert Markdown into Slack's bastardized Markdown-like formatting
MIT License
2 stars 0 forks source link

Doesn't handle indented dot points properly #1

Closed thundergolfer closed 5 years ago

thundergolfer commented 5 years ago

Failing test-case:

## Tuesday

- ⌗ redacted redacted redacted redacted redacted 
- 📅 Morning meeting with Wade about Datapipeline→Argo
- 📅 Datalake 2.0 Planning meeting
- 📅 D.Eng Observability meeting
- Create JIRA epics for the goals that I own
- Cleaning up Appsflyer *Pull* API stuff in Argo + AWS
    - Unscheduled it in Argo, but haven't cleaned out AWS stuff yet
- Got heads-up from redacted redacted redacted redacted  redacted  redacted 
    - redacted redacted redacted redacted redacted redacted redacted errors.

Output:

It removes the indent and adds too many \n characters:


• Unscheduled it in Argo, but haven't cleaned out AWS stuff yet

• Got heads-up redacted redacted redacted redacted redacted redacted

• It's a very odd state of affairs. redacted redacted redacted unknown weirdnessredacted redacted.
thundergolfer commented 5 years ago

Mostly fixed now, but you still get and extra newline when using sublists 😖.

Will close and create new issue