You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Memos displays correctly; however, when I use other rendering plugins after retrieving data via the open API, discrepancies arise. Here are some examples:
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.
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
The text was updated successfully, but these errors were encountered:
Memos primarily focuses on plain text content, aiming for a WYSIWYG(what you see is what you get) experience, while also supporting some commonly used Markdown syntax. There are some differences between memos and markdown, such as all blank lines being rendered in memos, also including the example you provided. Personally, I think the result of memos rendering is better.
I think you're right; using Memos alone isn’t an issue. However, if I want to use the open API to display recent Memos on other platforms, like my blog, I've found that Memos' content text is incompatible with some popular markdown parsers.
Memos displays correctly; however, when I use other rendering plugins after retrieving data via the open API, discrepancies arise. Here are some examples:
If there are two line breaks, Memos renders a blank line, while most other renderers ignore this blank line. For example:
Rendering results.
test
test
Gomark rendering results
![Image](https://private-user-images.githubusercontent.com/187716053/405294575-34907612-582f-498d-8a70-2bb1a79e72ab.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjYwMjAsIm5iZiI6MTczOTUyNTcyMCwicGF0aCI6Ii8xODc3MTYwNTMvNDA1Mjk0NTc1LTM0OTA3NjEyLTU4MmYtNDk4ZC04YTcwLTJiYjFhNzllNzJhYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxNFQwOTM1MjBaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1mMGExYjA0M2Q3ZTFmZGE5YWY3MjYxY2MzOTJkZTY3MzBhY2NlNDk0N2UwMzYyYTIzOTdjN2MwNmI1N2Q0NzUzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.1a8TdWqwHMprtTnBRCspJRP4YYuxgx6oszszPW4qrcc)
The GitHub markdown renderer ignores empty lines, so they won't display, but there will be an extra line in memos as follow screenshot.
In the following example, there is only one blockquote, while gomark also renders a separate paragraph.
> test test
Rendering results.
Gomark rendering results
test
The text was updated successfully, but these errors were encountered: