Automattic / Automattic/simplenote-electron
Markdown formatting applied even when markdown disabled
- Dominant language
- TypeScript
- Stars
- 5.3k
- Forks
- 588
- Avg merge
- 9h 45m
- Merged PRs (30d)
- 4
Description
I don't usually use markdown for my notes, so I was surprised after upgrading to v2.26.0 that some markdown formatting is being applied automatically.
Given there is a specific option to turn markdown on or off, this feels like an oversight/regression? I guess I could live with it (or find another note app use).. the issue is many of my notes contain various unix commands/config files, which specifically use "#" as a code comment, and it's super distracting to see those lines now in a huge font.
### Expected
With the Markdown option disabled, markdown formatting should not be applied
In v2.25.0 and below:
### Observed
Limited markdown formatting is applied no matter what.
Same note in v2.26.0:
### Reproduced
1. In the latest SimpleNote, add a note with any sorta markdown, like "# header", and see special formatting applied to that line. Click the "..." Actions button and make sure 'Markdown' is disabled.
2. Downgrade your SimpleNote to 2.25.0
3. That same note is now just plain formatted text (like it had been for every version before 2.26.0)
### Where did you see the bug
- OS: Windows
- OS version: 11
- Simplenote app version: 2.26.0
Contributor guide
Research direction
Reproduce the regression in Simplenote on Windows 11 with the Markdown option disabled, using a note containing “# header,” and compare behavior with v2.25.0. Trace the Markdown setting and note-rendering path; done means Markdown formatting is absent when disabled while remaining available when enabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100