mikepenz / multiplatform-markdown-renderer

Markdown renderer for Kotlin Multiplatform Projects (Android, iOS, Desktop), using Compose.
https://mikepenz.github.io/multiplatform-markdown-renderer/
Apache License 2.0
414 stars 27 forks source link

Citations Not Clickable on Android #203

Closed StarMobileDev closed 2 days ago

StarMobileDev commented 2 months ago

About this issue

We are experiencing an issue with the markdown library on Android, where the citations it renders are not clickable. Despite our extensive efforts to troubleshoot and resolve the problem, we have not been successful. We have ensured that our use of the library aligns with the guidance provided in the Usage section of the README.md and example apps.

Steps to Reproduce

  1. Integrate the library into an Android project as per the instructions in the README.md.
  2. Observe that the citations do not behave as clickable links.

Expected Behavior

The citations should be rendered as clickable links, allowing users to navigate to the referenced sources.

Below is an example of our UI.

Screenshot 2024-08-30 at 10 39 31 AM

Details

Checklist

mikepenz commented 2 months ago

Can you please provide a short code example to reproduce this issue?

chokokatana commented 1 month ago

Maybe the problem is that the citations are local document hrefs and you need to implement click handler to scroll the view to the reference?

mikepenz commented 1 month ago

@chokokatana thanks for the additional input. Didn't think of that.

@StarMobileDev can you please confirm if this is the behavior you expect? or the links are pointing to external sources?

mikepenz commented 2 days ago

Closing due to inactivity. please re-open if still relevant