lbry-android icon indicating copy to clipboard operation
lbry-android copied to clipboard

Markdown rendering issues

Open tzarebczan opened this issue 4 years ago • 5 comments

https://lbry.tv/@Juergs-LBRY-Blog:0/Erster-Blog-Eintrag:9 - does not show at all

https://lbry.tv/@lbrycast:4/2020-0703jaketran:b - supposedly cuts off at the video video embed

tzarebczan avatar Jul 09 '20 15:07 tzarebczan

https://noties.io/Markwon could help. It is Apache 2.0-licensed and available to be added into dependencies wirhout any additional repository.

kekkyojin avatar Jul 09 '20 16:07 kekkyojin

Using Markwon I have been able to display the Erster-Blog-Eintrag post. Problem with this solution is that images are not resized to 100% width. I will keep trying, as that library offers a way to do the resizing.

Post keeps showing "##" at the beginning of the supposed first heading.

Problem with the lbrycast one is that WebView doesn't show iframes because it is a security hole. I haven't tested it with the Markwon implementation, yet.

kekkyojin avatar Jul 10 '20 22:07 kekkyojin

@kekkyojin if you want to continue to work on better text support that could be a great issue for you

kauffj avatar Sep 09 '20 14:09 kauffj

I am going to do some work here

kekkyojin avatar Oct 01 '20 08:10 kekkyojin

Thanks for working on the issue, @kekkyojin. I have noticed that Markdown doesn't render in the descriptions on Android today and I'm glad to know it'll be fixed later.

6r1d avatar Mar 12 '21 08:03 6r1d