Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Gomark handles line breaks differently than traditional markdown renderers. #14

Open
chriscurrycc opened this issue Jan 21, 2025 · 0 comments

Comments

@chriscurrycc
Copy link

Memos displays correctly; however, when I use other rendering plugins after retrieving data via the open API, discrepancies arise. Here are some examples:

  1. Handling of line breaks:
    If there are two line breaks, Memos renders a blank line, while most other renderers ignore this blank line. For example:
test

test

Rendering results.
test

test

Gomark rendering results
The GitHub markdown renderer ignores empty lines, so they won't display, but there will be an extra line in memos as follow screenshot.
Image

  1. blockquote
    In the following example, there is only one blockquote, while gomark also renders a separate paragraph.
> test
test

Rendering results.

test
test

Gomark rendering results

test

test

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant