jerboa
jerboa copied to clipboard
markdown parse the 5 lines truncated body preview in post listing
right now it doesn't markdown parse this 5 line body preview so links and such don't work properly:
this updates it to do a 5 line body preview (still with the bodyMedium text size) but markdown parse it validated looks correct now in both card & small card mode (doesn't impact list mode)
Sure let me take a stab at stripping them out of the 5 line body preview before rendering it as md.
ok updated @dessalines now the CreateMarkdownView
has a removeImages
mode that strips out any

sections and replaces them with img
or img:<alt_text>
if alt text is provided
Should I also strip out <img src .. >
style images as well? i know they won't get there by default but it might be possible to manually create one, not sure what lemmy does there (I know github markdown supports it)
Possible duplicate of https://github.com/dessalines/jerboa/pull/703
@vijaykramesh any updates? Those changes should be quick to implement. If you're swamped, one of us could probably finish this up.
This has been merged now in #1002
Ah sorry all I was out of town but see this got finished and merged, thanks!