Kin69 / EasyNotes

EasyNotes: Jetpack Compose MVVM for seamless note-taking. Effortless creation, editing, and organization.
GNU General Public License v3.0
395 stars 30 forks source link

[BUG] Markdown not rendered in widget #158

Open Violet-RM opened 2 months ago

Violet-RM commented 2 months ago

Required Information

Steps to Reproduce the Bug

  1. Enable markdown
  2. Create a note utilizing markdown
  3. Set the widget to that note.
  4. See unrendered markdown. Note: Titles are rendered correctly, its just that seemingly nothing else is

Expected Behavior

Describe what you expected to happen clearly and concisely. Markdown is rendered normally

Strongly Recommended Information

Screenshots

If applicable, add screenshots to help explain your problem.

Smartphone Information

Additional Information (Optional)

Additional Context

Add any other context or details about the problem here.

GingrPowr commented 2 months ago

Confirmed on Samsung A15 with Android 14 + OneUI 6.1.

Tymora commented 3 weeks ago

@Kin69, hi, can I try to take a look at this error, maybe I can fix it?

Kin69 commented 3 weeks ago

@Tymora Hi, the issue here is that inline markdown works with spannable text, but Glance doesn't support that feature. I tried rendering each character as new text and adjusting the styles, but Glance only allows for 10 elements in a row or column. If you can find a way to resolve this, I’d appreciate it!