Skip to content

Small Markdown Render Quirk #4098

@asystemoffields

Description

@asystemoffields

Describe the bug
Live markdown render doesn't work right to left- if I write "this is an example" sequentially, no issue. If I write "this is an example*" and then go back to put "*" before "this", the markdown render doesn't handle it. Not a significant bug, but I noticed it.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a super note
  2. Write some text
  3. Decide after you've written it you want to add some markdown formatting.
  4. Enter the closing * as you navigate backwards across the text, then enter the first one wherever you want it- markdown will not render. If you then go and delete the closing "*" and retype it, it will immediately render.

Expected behavior
Markdown formatting should render in the editor regardless of the spatial order in which you input the chars. (Congrats on a really great live markdown render though, they are a huge pain in the ass and this is a trivial bug)

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: N/A
  • Browser: N/A
  • Version: N/A

Smartphone (please complete the following information):

  • Device: Pixel 8a
  • OS: Android whateverthenewoneis
  • Browser: NA
  • Version: V3.201.10

Additional context
You are fantastic and I love Standard Notes. This is a very minor bug that isn't really any kind of problem at all- just caught it and had to share.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions