Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Markdown Rendering Issue: Blank Lines in Quote Blocks #19

@imjoeyli

Description

@imjoeyli

Describe the bug

Issue:

Currently, the Markdown rendering in Memos does not support blank line breaks within quote blocks. For example, the following Markdown:

> TEXT
>
> TEXT
Image

results in the blank line not being included within the quote block. This behavior differs from other Markdown applications, such as Obsidian, where the blank line is properly rendered as part of the quote.

Suggestion:

I suggest updating the Markdown rendering logic in Memos to ensure that blank lines within quote blocks are properly enclosed. This change will enhance consistency with other Markdown tools and improve the overall user experience.

Thank you for your attention to this matter.

Steps to reproduce

  1. Open the Memos application.
  2. Create a new note.
  3. Enter the following Markdown content like:
> TEXT
>
> TEXT
  1. Save to render the note.
  2. Observe that the blank line between the two lines is not included within the quote block.

The version of Memos you're using

v0.24.2

Screenshots or additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions