Open Kap2022 opened 2 years ago
Could you show an example? If you mean the front page short summary no longer rendering markdown, that's correct.
Was changed here: https://github.com/LemmyNet/lemmy-ui/pull/659
I think it was mainly because it allowed for video to be played on the main page from a post body (https://github.com/LemmyNet/lemmy-ui/issues/650). But that has been fixed by disabling html parsing, so maybe markdown could be enabled again for previews, as the unformatted one looks pretty ugly. Some things like titles should be disabled for the preview though).
It looks like its possible to disable certain rules. So IMO this doable. That also might not be necessary if we use md.renderInline
This first one should be bullets where the dashes are
Example of bold
Example of a link
Example of italics
This looks like it can be safely closed, doesn't seem applicable to 0.18 at least.
from feed https://programming.dev/c/rust (programming.dev runs 0.18.0)
If I click the post it renders correctly
So, it seems this is still an issue, unless I missunderstand what this issue is about.
When you include markdown in your post e.g. a link or italics or bold - it formats perfectly in the post.
But it does not format in the newsfeed and that can look very ugly and unprofessional, especially if it is a link, etc.